| Index: lib/src/prism/tests/languages/elixir/regex_feature.test
|
| diff --git a/lib/src/prism/tests/languages/elixir/regex_feature.test b/lib/src/prism/tests/languages/elixir/regex_feature.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..81eb31a651ca7f0a965acca4ac552f9a6e5b3295
|
| --- /dev/null
|
| +++ b/lib/src/prism/tests/languages/elixir/regex_feature.test
|
| @@ -0,0 +1,29 @@
|
| +~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.
|
|
|