jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/elixir/regex_feature.test

29 lines
601 B
Plaintext
Raw Normal View History

2016-02-03 16:00:01 -07:00
~r"""foobar"""im
~R'''foobar'''ux
~r/fo\/obar/smfr
~R|fo\|obar|uismxfr
~r"fo\"obar"x
~R'fo\'obar's
~r(fo\)obar)
~R[fo\]obar]
~r{fo\}obar}
~R<fo\>obar>
----------------------------------------------------
[
["regex", "~r\"\"\"foobar\"\"\"im"],
["regex", "~R'''foobar'''ux"],
["regex", "~r/fo\\/obar/smfr"],
["regex", "~R|fo\\|obar|uismxfr"],
["regex", "~r\"fo\\\"obar\"x"],
["regex", "~R'fo\\'obar's"],
["regex", "~r(fo\\)obar)"],
["regex", "~R[fo\\]obar]"],
["regex", "~r{fo\\}obar}"],
["regex", "~R<fo\\>obar>"]
]
----------------------------------------------------
Checks for regexes.