update components
This commit is contained in:
parent
59ea1c2f7d
commit
cf577ba8eb
1136 changed files with 59263 additions and 576 deletions
29
dashboard-ui/bower_components/prism/tests/languages/puppet/regex_feature.test
vendored
Normal file
29
dashboard-ui/bower_components/prism/tests/languages/puppet/regex_feature.test
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
node /f(o)"o"[b]?a\/r/
|
||||
$foo = /foo
|
||||
bar # baz
|
||||
/m
|
||||
$foo = /foo
|
||||
bar # baz
|
||||
/ixm
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "node"],
|
||||
["regex", ["/f(o)\"o\"[b]?a\\/r/"]],
|
||||
["variable", ["$foo"]], ["operator", "="],
|
||||
["regex", ["/foo\r\nbar # baz\r\n/m"]],
|
||||
["variable", ["$foo"]], ["operator", "="],
|
||||
["regex", [
|
||||
["extended-regex", [
|
||||
"/foo\r\nbar ",
|
||||
["comment", "# baz"],
|
||||
"\r\n/ixm"
|
||||
]]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for regular expressions.
|
||||
Also checks that extended-regex accept inline comments.
|
Loading…
Add table
Add a link
Reference in a new issue