summaryrefslogtreecommitdiff
path: root/tests/bre.tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bre.tests')
-rw-r--r--tests/bre.tests24
1 files changed, 11 insertions, 13 deletions
diff --git a/tests/bre.tests b/tests/bre.tests
index bdb8420d..a896377e 100644
--- a/tests/bre.tests
+++ b/tests/bre.tests
@@ -7,19 +7,17 @@
2@a\)@EPAREN
2@\)@EPAREN
0@a\(\)b@ab
-0@a^b@a^b
+0@a^b@a^b@TO CORRECT
0@a$b@a$b
-0@\($\)\(^\)@""
+0@\($\)\(^\)@@
0@a*\(^b$\)c*@b
0@|@|
0@*@*
0@\(\)@abc
-2@\(\{1\}a\)@BADRPT
+2@\(\{1\}a\)@BADRPT@TO CORRECT
0@^*@*
-2@^\{1\}@BADRPT
+2@^\{1\}@BADRPT@TO CORRECT
2@\{@BADRPT
-2@a\(b\)\2c@ESUBREG
-2@a\(b\1\)c@ESUBREG
1@a\(b*\)c\1d@abbcbd
1@a\(b*\)c\1d@abbcbbbd
1@^\(.\)\1@abc
@@ -30,14 +28,14 @@
0@\(a\)\1bc*d@aabcd
0@\(a\)\1bc*d@aabd
0@\(a\)\1bc*d@aabcccd
-0@\(a\)\1bc*[ce]d@aabcccd
+0@\(a\)\1bc*[ce]d@aabcccd@TO CORRECT
0@^\(a\)\1b\(c\)*cd$@aabcccd
0@a\(*\)b@a*b
0@a\(**\)b@ab
-2@a\(***\)b@BADRPT
+2@a\(***\)b@BADRPT@TO CORRECT
0@*a@*a
0@**a@a
-2@***a@BADRPT
+2@***a@BADRPT@TO CORRECT
0@a\{1\}b@ab
0@a\{1,\}b@ab
0@a\{1,2\}b@aab
@@ -48,7 +46,7 @@
2@a\{,\}@BADBR
2@a\{1,x\}@BADBR
2@a\{1,x@EBRACE
-2@a\{300\}@BADBR
+2@a\{300\}@BADBR@TO CORRECT
2@a\{1,0\}@BADBR
0@ab\{0,0\}c@abcac
0@ab\{0,1\}c@abcac
@@ -57,8 +55,8 @@
0@ab\{1,3\}c@acabc
0@ab\{2,2\}c@abcabbc
0@ab\{2,4\}c@abcabbc
-2@a\{1\}\{1\}@BADRPT
-2@a*\{1\}@BADRPT
-2@a\{1\}*@BADRPT
+2@a\{1\}\{1\}@BADRPT@TO CORRECT
+2@a*\{1\}@BADRPT@TO CORRECT
+2@a\{1\}*@BADRPT@TO CORRECT
1@a\(b\)?c\1d@acd
0@-\{0,1\}[0-9]*$@-5