aboutsummaryrefslogtreecommitdiff
path: root/tests/regex
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-01 11:19:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-01 11:19:16 +0300
commit307e30572fdeadf97b9febfefd70c5bac3f908e6 (patch)
treea38eed41e7c7051e52120d4a7957ad0e4d8229a0 /tests/regex
parent8504149fc1c70ecc5c7743c3522ae70de68b0694 (diff)
Add '\n' to regex_replace_*() substitution escape sequences
Diffstat (limited to 'tests/regex')
-rw-r--r--tests/regex/testscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/regex/testscript b/tests/regex/testscript
index 5a65b4a..1d33406 100644
--- a/tests/regex/testscript
+++ b/tests/regex/testscript
@@ -34,6 +34,13 @@
$* xay a '\' >'xy' : none-term
$* xay a '\\' >'x\y' : self
+ : newline
+ :
+ $* xay a '\n' >>EOO
+ x
+ y
+ EOO
+
: capture
:
{