aboutsummaryrefslogtreecommitdiff
path: root/tests/regex/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regex/testscript')
-rw-r--r--tests/regex/testscript10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/regex/testscript b/tests/regex/testscript
index 1af604c..8291f36 100644
--- a/tests/regex/testscript
+++ b/tests/regex/testscript
@@ -21,7 +21,10 @@
: capture
:
- $* abcdefghij '(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)' '$1$10' >aj
+ {
+ $* abcdefghij '(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)' '$1$10' >aj : matched
+ $* a '(a)|(b)' '$1$2$3' >a : unmatched
+ }
}
: perl-escape
@@ -33,7 +36,10 @@
: capture
:
- $* abcdefghij '(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)' '\1\10' >aa0
+ {
+ $* abcdefghij '(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)' '\1\10' >aa0 : matched
+ $* a '(a)|(b)' '\1\2\3' >a : unmatched
+ }
: upper
: