mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 03:48:18 -07:00
29 lines
568 B
Plaintext
29 lines
568 B
Plaintext
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. |