summaryrefslogtreecommitdiffstats
path: root/srclib/pcre/testdata/testinput1
diff options
context:
space:
mode:
Diffstat (limited to 'srclib/pcre/testdata/testinput1')
-rw-r--r--srclib/pcre/testdata/testinput159
1 files changed, 54 insertions, 5 deletions
diff --git a/srclib/pcre/testdata/testinput1 b/srclib/pcre/testdata/testinput1
index d72a2c580b..66df9b3d79 100644
--- a/srclib/pcre/testdata/testinput1
+++ b/srclib/pcre/testdata/testinput1
@@ -1441,10 +1441,6 @@
ABCabc
abcABC
-/(main(O)?)+/
- mainmain
- mainOmain
-
/ab{3cd/
ab{3cd
@@ -1898,4 +1894,57 @@
//g
abc
-/ End of test input /
+/<tr([\w\W\s\d][^<>]{0,})><TD([\w\W\s\d][^<>]{0,})>([\d]{0,}\.)(.*)((<BR>([\w\W\s\d][^<>]{0,})|[\s]{0,}))<\/a><\/TD><TD([\w\W\s\d][^<>]{0,})>([\w\W\s\d][^<>]{0,})<\/TD><TD([\w\W\s\d][^<>]{0,})>([\w\W\s\d][^<>]{0,})<\/TD><\/TR>/is
+ <TR BGCOLOR='#DBE9E9'><TD align=left valign=top>43.<a href='joblist.cfm?JobID=94 6735&Keyword='>Word Processor<BR>(N-1286)</a></TD><TD align=left valign=top>Lega lstaff.com</TD><TD align=left valign=top>CA - Statewide</TD></TR>
+
+/a[^a]b/
+ acb
+ a\nb
+
+/a.b/
+ acb
+ *** Failers
+ a\nb
+
+/a[^a]b/s
+ acb
+ a\nb
+
+/a.b/s
+ acb
+ a\nb
+
+/^(b+?|a){1,2}?c/
+ bac
+ bbac
+ bbbac
+ bbbbac
+ bbbbbac
+
+/^(b+|a){1,2}?c/
+ bac
+ bbac
+ bbbac
+ bbbbac
+ bbbbbac
+
+/(?!\A)x/m
+ x\nb\n
+ a\bx\n
+
+/\x0{ab}/
+ \0{ab}
+
+/(A|B)*?CD/
+ CD
+
+/(A|B)*CD/
+ CD
+
+/(AB)*?\1/
+ ABABAB
+
+/(AB)*\1/
+ ABABAB
+
+/ End of testinput1 /