mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 11:58:20 -07:00
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
|
/[foo]\/bar/gim
|
||
|
/[bar]/,
|
||
|
/./i;
|
||
|
%r!foo?bar#{39+3}!
|
||
|
%r(foo?bar#{39+3})
|
||
|
%r{foo?bar#{39+3}}
|
||
|
%r[foo?bar#{39+3}]
|
||
|
%r<foo?bar#{39+3}>
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
[
|
||
|
["regex", "/[foo]\\/bar/gim"],
|
||
|
["regex", "/[bar]/"], ["punctuation", ","],
|
||
|
["regex", "/./i"], ["punctuation", ";"],
|
||
|
["regex", ["%r!foo?bar", ["interpolation", [
|
||
|
["delimiter", "#{"],
|
||
|
["number", "39"], ["operator", "+"], ["number", "3"],
|
||
|
["delimiter", "}"]
|
||
|
]], "!"]],
|
||
|
["regex", ["%r(foo?bar", ["interpolation", [
|
||
|
["delimiter", "#{"],
|
||
|
["number", "39"], ["operator", "+"], ["number", "3"],
|
||
|
["delimiter", "}"]
|
||
|
]], ")"]],
|
||
|
["regex", ["%r{foo?bar", ["interpolation", [
|
||
|
["delimiter", "#{"],
|
||
|
["number", "39"], ["operator", "+"], ["number", "3"],
|
||
|
["delimiter", "}"]
|
||
|
]], "}"]],
|
||
|
["regex", ["%r[foo?bar", ["interpolation", [
|
||
|
["delimiter", "#{"],
|
||
|
["number", "39"], ["operator", "+"], ["number", "3"],
|
||
|
["delimiter", "}"]
|
||
|
]], "]"]],
|
||
|
["regex", ["%r<foo?bar", ["interpolation", [
|
||
|
["delimiter", "#{"],
|
||
|
["number", "39"], ["operator", "+"], ["number", "3"],
|
||
|
["delimiter", "}"]
|
||
|
]], ">"]]
|
||
|
]
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
Checks for regex.
|