]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/test/testdata/regextst.txt
ICU-66108.tar.gz
[apple/icu.git] / icuSources / test / testdata / regextst.txt
... / ...
CommitLineData
1# Copyright (C) 2016 and later: Unicode, Inc. and others.
2# License & terms of use: http://www.unicode.org/copyright.html
3# Copyright (c) 2001-2015 International Business Machines
4# Corporation and others. All Rights Reserved.
5#
6# file:
7#
8# ICU regular expression test cases.
9#
10# format: one test case per line,
11# <test case> = <pattern> <flags> <match string> [# comment]
12# <pattern> = "<regular expression pattern>"
13# <match string> = "<tagged string>"
14# the quotes on the pattern and match string can be " or ' or /
15# <tagged string> = text, with the start and end of each
16# capture group tagged with <n>...</n>. The overall match,
17# if any, is group 0, as in <0>matched text</0>
18# A region can be specified with <r>...</r> tags.
19# Standard ICU unescape will be applied, allowing \u, \U, etc. to appear.
20#
21# <flags> = any combination of
22# i case insensitive match
23# x free spacing and comments
24# s dot-matches-all mode
25# m multi-line mode.
26# ($ and ^ match at embedded new-lines)
27# D Unix Lines mode (only recognize 0x0a as new-line)
28# Q UREGEX_LITERAL flag. Entire pattern is literal string.
29# v If icu configured without break iteration, this
30# regex test pattern should not compile.
31# e set the UREGEX_ERROR_ON_UNKNOWN_ESCAPES flag
32# d dump the compiled pattern
33# t trace operation of match engine.
34# 2-9 a digit between 2 and 9, specifies the number of
35# times to execute find(). The expected results are
36# for the last find() in the sequence.
37# G Only check match / no match. Do not check capture groups.
38# E Pattern compilation error expected
39# L Use LookingAt() rather than find()
40# M Use matches() rather than find().
41#
42# a Use non-Anchoring Bounds.
43# b Use Transparent Bounds.
44# The a and b options only make a difference if
45# a <r>region</r> has been specified in the string.
46# z|Z hitEnd was expected(z) or not expected (Z).
47# With neither, hitEnd is not checked.
48# y|Y Require End expected(y) or not expected (Y).
49#
50# White space must be present between the flags and the match string.
51#
52
53# Look-ahead expressions
54#
55"(?!0{5})(\d{5})" "<0><1>00001</1></0>zzzz"
56"(?!0{5})(\d{5})z" "<0><1>00001</1>z</0>zzz"
57"(?!0{5})(\d{5})(?!y)" "<0><1>00001</1></0>zzzz"
58"abc(?=def)" "<0>abc</0>def"
59"(.*)(?=c)" "<0><1>ab</1></0>cdef"
60
61"(?:.*)(?=c)" "<r>ab</r>cdef"
62"(?:.*)(?=c)" b "<r><0>ab</0></r>cdef" # transparent bounds
63"(?:.*)(?=c)" bM "<r><0>ab</0></r>cdef" # transparent bounds
64
65"(?:.*)(?=(c))" b "<0>ab</0><1>c</1>def" # Capture in look-ahead
66"(?=(.)\1\1)\1" "abcc<0><1>d</1></0>ddefg" # Backrefs to look-ahead capture
67
68".(?!\p{L})" "abc<0>d</0> " # Negated look-ahead
69".(?!(\p{L}))" "abc<0>d</0> " # Negated look-ahead, no capture
70 # visible outside of look-ahead
71"and(?=roid)" L "<0>and</0>roid"
72"and(?=roid)" M "<r>and</r>roid"
73"and(?=roid)" bM "<r><0>and</0></r>roid"
74
75"and(?!roid)" L "<0>and</0>roix"
76"and(?!roid)" L "android"
77
78"and(?!roid)" M "<r><0>and</0></r>roid" # Opaque bounds
79"and(?!roid)" bM "<r>and</r>roid"
80"and(?!roid)" bM "<r><0>and</0></r>roix"
81
82#
83# Negated Lookahead, various regions and region transparency
84#
85"abc(?!def)" "<0>abc</0>xyz"
86"abc(?!def)" "abcdef"
87"abc(?!def)" "<r><0>abc</0></r>def"
88"abc(?!def)" b "<r>abc</r>def"
89"abc(?!def)" b "<r><0>abc</0></r>xyz"
90
91#
92# Nested Lookahead / Behind
93#
94"one(?=(?:(?!<out>).)*</out>)" "<out><0>one</0> stuff</out>"
95"one(?=(?:(?!<out>).)*</out>)" "<out>one <out></out>"
96
97# More nesting lookaround: pattern matches "qq" when not preceded by 'a' and followed by 'z'
98"(?<!a(?!...z))qq" "<0>qq</0>c"
99"(?<!a(?!...z))qq" "f<0>qq</0>c"
100"(?<!a(?!...z))qq" "aqqz"
101
102# More nested lookaround: match any two chars preceded and followed by an upper case letter.
103# With gratuitious nesting of look-arounds and capture from the look-arounds.
104
105"(?=(?<=(\p{Lu})(?=..(\p{Lu})))).." "<1>A</1><0>jk</0><2>B</2>"
106"(?=(?<=(\p{Lu})(?=..(\p{Lu})))).." "ajkB"
107"(?=(?<=(\p{Lu})(?=..(\p{Lu})))).." "Ajkb"
108
109# Nested lookaround cases from bug ICU-20564
110"(?<=(?<=((?=)){0}+))" "<0></0>abc"
111"(?<=c(?<=c((?=c)){1}+))" "c<0><1></1></0>cc"
112
113#
114# Anchoring Bounds
115#
116"^def$" "abc<r><0>def</0></r>ghi" # anchoring (default) bounds
117"^def$" a "abc<r>def</r>ghi" # non-anchoring bounds
118"^def" a "<r><0>def</0></r>ghi" # non-anchoring bounds
119"def$" a "abc<r><0>def</0></r>" # non-anchoring bounds
120
121"^.*$" m "<0>line 1</0>\n line 2"
122"^.*$" m2 "line 1\n<0> line 2</0>"
123"^.*$" m3 "line 1\n line 2"
124"^.*$" m "li<r><0>ne </0></r>1\n line 2" # anchoring bounds
125"^.*$" m2 "li<r>ne </r>1\n line 2" # anchoring bounds
126"^.*$" am "li<r>ne </r>1\n line 2" # non-anchoring bounds
127"^.*$" am "li\n<r><0>ne </0></r>\n1\n line 2" # non-anchoring bounds
128
129#
130# HitEnd and RequireEnd for new-lines just before end-of-input
131#
132"xyz$" yz "<0>xyz</0>\n"
133"xyz$" yz "<0>xyz</0>\x{d}\x{a}"
134
135"xyz$" myz "<0>xyz</0>" # multi-line mode
136"xyz$" mYZ "<0>xyz</0>\n"
137"xyz$" mYZ "<0>xyz</0>\r\n"
138"xyz$" mYZ "<0>xyz</0>\x{85}abcd"
139
140"xyz$" Yz "xyz\nx"
141"xyz$" Yz "xyza"
142"xyz$" yz "<0>xyz</0>"
143
144#
145# HitEnd
146#
147"abcd" Lz "a"
148"abcd" Lz "ab"
149"abcd" Lz "abc"
150"abcd" LZ "<0>abcd</0>"
151"abcd" LZ "<0>abcd</0>e"
152"abcd" LZ "abcx"
153"abcd" LZ "abx"
154"abcd" Lzi "a"
155"abcd" Lzi "ab"
156"abcd" Lzi "abc"
157"abcd" LZi "<0>abcd</0>"
158"abcd" LZi "<0>abcd</0>e"
159"abcd" LZi "abcx"
160"abcd" LZi "abx"
161
162#
163# All Unicode line endings recognized.
164# 0a, 0b, 0c, 0d, 0x85, 0x2028, 0x2029
165# Multi-line and non-multiline mode take different paths, so repeated tests.
166#
167"^def$" mYZ "abc\x{a}<0>def</0>\x{a}ghi"
168"^def$" mYZ "abc\x{b}<0>def</0>\x{b}ghi"
169"^def$" mYZ "abc\x{c}<0>def</0>\x{c}ghi"
170"^def$" mYZ "abc\x{d}<0>def</0>\x{d}ghi"
171"^def$" mYZ "abc\x{85}<0>def</0>\x{85}ghi"
172"^def$" mYZ "abc\x{2028}<0>def</0>\x{2028}ghi"
173"^def$" mYZ "abc\x{2029}<0>def</0>\x{2029}ghi"
174"^def$" mYZ "abc\r\n<0>def</0>\r\nghi"
175
176"^def$" yz "<0>def</0>\x{a}"
177"^def$" yz "<0>def</0>\x{b}"
178"^def$" yz "<0>def</0>\x{c}"
179"^def$" yz "<0>def</0>\x{d}"
180"^def$" yz "<0>def</0>\x{85}"
181"^def$" yz "<0>def</0>\x{2028}"
182"^def$" yz "<0>def</0>\x{2029}"
183"^def$" yz "<0>def</0>\r\n"
184"^def$" yz "<0>def</0>"
185
186
187"^def$" "<0>def</0>\x{2028" #TODO: should be an error of some sort.
188
189#
190# UNIX_LINES mode
191#
192"abc$" D "<0>abc</0>\n"
193"abc$" D "abc\r"
194"abc$" D "abc\u0085"
195"a.b" D "<0>a\rb</0>"
196"a.b" D "a\nb"
197"(?d)abc$" "<0>abc</0>\n"
198"(?d)abc$" "abc\r"
199"abc$" mD "<0>abc</0>\ndef"
200"abc$" mD "abc\rdef"
201
202".*def" L "abc\r def xyz" # Normal mode, LookingAt() stops at \r
203".*def" DL "<0>abc\r def</0> xyz" # Unix Lines mode, \r not line end.
204".*def" DL "abc\n def xyz"
205
206"(?d)a.b" "a\nb"
207"(?d)a.b" "<0>a\rb</0>"
208
209"^abc" m "xyz\r<0>abc</0>"
210"^abc" Dm "xyz\rabc"
211"^abc" Dm "xyz\n<0>abc</0>"
212
213
214
215# Capturing parens
216".(..)." "<0>a<1>bc</1>d</0>"
217 ".*\A( +hello)" "<0><1> hello</1></0>"
218"(hello)|(goodbye)" "<0><1>hello</1></0>"
219"(hello)|(goodbye)" "<0><2>goodbye</2></0>"
220"abc( +( inner(X?) +) xyz)" "leading cruft <0>abc<1> <2> inner<3></3> </2> xyz</1></0> cruft"
221"\s*([ixsmdt]*)([:letter:]*)" "<0> <1>d</1><2></2></0> "
222"(a|b)c*d" "a<0><1>b</1>cd</0>"
223
224# Non-capturing parens (?: stuff). Groups, but does not capture.
225"(?:abc)*(tail)" "<0>abcabcabc<1>tail</1></0>"
226
227# Non-greedy *? quantifier
228".*?(abc)" "<0> abx <1>abc</1></0> abc abc abc"
229".*(abc)" "<0> abx abc abc abc <1>abc</1></0>"
230
231"((?:abc |xyz )*?)abc " "<0><1>xyz </1>abc </0>abc abc "
232"((?:abc |xyz )*)abc " "<0><1>xyz abc abc </1>abc </0>"
233
234# Non-greedy +? quantifier
235"(a+?)(a*)" "<0><1>a</1><2>aaaaaaaaaaaa</2></0>"
236"(a+)(a*)" "<0><1>aaaaaaaaaaaaa</1><2></2></0>"
237
238"((ab)+?)((ab)*)" "<0><1><2>ab</2></1><3>ababababab<4>ab</4></3></0>"
239"((ab)+)((ab)*)" "<0><1>abababababab<2>ab</2></1><3></3></0>"
240
241# Non-greedy ?? quantifier
242"(ab)(ab)??(ab)??(ab)??(ab)??c" "<0><1>ab</1><4>ab</4><5>ab</5>c</0>"
243
244# Unicode Properties as naked elements in a pattern
245"\p{Lu}+" "here we go ... <0>ABC</0> and no more."
246"(\p{L}+)(\P{L}*?) (\p{Zs}*)" "7999<0><1>letters</1><2>4949%^&*(</2> <3> </3></0>"
247
248# \w and \W
249"\w+" " $%^&*( <0>hello123</0>%^&*("
250"\W+" "<0> $%^&*( </0>hello123%^&*("
251
252# \A match at beginning of input only.
253 ".*\Ahello" "<0>hello</0> hello"
254 ".*hello" "<0>hello hello</0>"
255".*\Ahello" "stuff\nhello" # don't match after embedded new-line.
256
257# \b \B
258#
259".*?\b(.).*" "<0> $%^&*( <1>h</1>ello123%^&*()gxx</0>"
260"\ba\b" "-<0>a</0>"
261"\by\b" "xy"
262"[ \b]" "<0>b</0>" # in a set, \b is a literal b.
263
264# Finds first chars of up to 5 words
265"(?:.*?\b(\w))?(?:.*?\b(\w))?(?:.*?\b(\w))?(?:.*?\b(\w))?(?:.*?\b(\w))?" "<0><1>T</1>the <2>q</2>ick <3>b</3>rown <4>f</4></0>ox"
266
267"H.*?((?:\B.)+)" "<0>H<1>ello</1></0> "
268".*?((?:\B.)+).*?((?:\B.)+).*?((?:\B.)+)" "<0>H<1>ello</1> <2> </2>g<3>oodbye</3></0> "
269
270"(?:.*?\b(.))?(?:.*?\b(.))?(?:.*?\b(.))?(?:.*?\b(.))?(?:.*?\b(.))?.*" "<0> \u0301 \u0301<1>A</1>\u0302BC\u0303\u0304<2> </2>\u0305 \u0306<3>X</3>\u0307Y\u0308</0>"
271
272
273#
274# Unicode word boundary mode
275#
276"(?w).*?\b" v "<0></0>hello, world"
277"(?w).*?(\b.+?\b).*" v "<0><1> </1>123.45 </0>"
278"(?w).*?(\b\d.*?\b).*" v "<0> <1>123.45</1> </0>"
279".*?(\b.+?\b).*" "<0> <1>123</1>.45 </0>"
280"(?w:.*?(\b\d.*?\b).*)" v "<0> <1>123.45</1> </0>"
281"(?w:.*?(\b.+?\b).*)" v "<0><1>don't</1> </0>"
282"(?w:.+?(\b\S.+?\b).*)" v "<0> <1>don't</1> </0>"
283"(?w:(\b.+?)(\b.+?)(\b.+?)(\b.+?)(\b.+?)(\b.+?)(\b.+?).*)" v "<0><1>.</1><2> </2><3>,</3><4>:</4><5>$</5><6>37,000.50</6><7> </7> </0>"
284
285#
286# Unicode word boundaries with Regions
287#
288"(?w).*?\b" v "abc<r><0>def</0></r>ghi"
289"(?w).*?\b" v2 "abc<r>def<0></0></r>ghi"
290"(?w).*?\b" v3 "abc<r>def</r>ghi"
291#"(?w).*?\b" vb "abc<r><0>def</0></r>ghi" # TODO: bug. Ticket 6073
292#"(?w).*?\b" vb2 "abc<r>def</r>ghi"
293
294
295
296# . does not match new-lines
297"." "\u000a\u000d\u0085\u000c\u000b\u2028\u2029<0>X</0>\u000aY"
298"A." "A\u000a "# no match
299
300# \d for decimal digits
301"\d*" "<0>0123456789\u0660\u06F9\u0969\u0A66\u17E2\uFF10\U0001D7CE\U0001D7FF</0>non-digits"
302"\D+" "<0>non digits</0>"
303"\D*(\d*)(\D*)" "<0>non-digits<1>3456666</1><2>more non digits</2></0>"
304
305# \Q...\E quote mode
306"hel\Qlo, worl\Ed" "<0>hello, world</0>"
307"\Q$*^^(*)?\A\E(a*)" "<0>$*^^(*)?\\A<1>aaaaaaaaaaaaaaa</1></0>"
308"[abc\Q]\r\E]+" "<0>aaaccc]]]\\\\\\</0>\r..." # \Q ... \E escape in a [set]
309
310# UREGEX_LITERAL - entire pattern is a literal string, no escapes recognized.
311# Note that data strings in test cases still get escape processing.
312"abc\an\r\E\\abcd\u0031bye" Q "lead<0>abc\\an\\r\\E\\\\abcd\\u0031bye</0>extra"
313"case insensitive \\ (l)iteral" Qi "stuff!! <0>cAsE InSenSiTiVE \\\\ (L)ITeral</0>"
314
315# \S and \s space characters
316"\s+" "not_space<0> \t \r \n \u3000 \u2004 \u2028 \u2029</0>xyz"
317"(\S+).*?(\S+).*" "<0><1>Not-spaces</1> <2>more-non-spaces</2> </0>"
318
319# \X consume one Grapheme Cluster.
320"(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?" "<0><1>A</1><2>B</2><3> </3><4>\r\n</4></0>"
321"(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?" "<0><1>A\u0301</1><2>\n</2><3>\u0305</3><4>a\u0302\u0303\u0304</4></0>"
322"(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?" "<0><1>\u1100\u1161\u11a8</1><2>\u115f\u11a2\u11f9</2></0>"
323"(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?" "<0><1>\u1100\uac01</1><2>\uac02</2><3>\uac03\u11b0</3></0>"
324"(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?" "<0><1>\u1100\u1101\uac02\u0301</1><2>\u1100</2></0>"
325
326# ^ matches only at beginning of line
327".*^(Hello)" "<0><1>Hello</1></0> Hello Hello Hello Goodbye"
328".*(Hello)" "<0>Hello Hello Hello <1>Hello</1></0> Goodbye"
329".*^(Hello)" " Hello Hello Hello Hello Goodbye"# No Match
330
331# $ matches only at end of line, or before a newline preceding the end of line
332".*?(Goodbye)$" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>"
333".*?(Goodbye)" ZY "<0>Hello <1>Goodbye</1></0> Goodbye Goodbye"
334".*?(Goodbye)$" z "Hello Goodbye> Goodbye Goodbye "# No Match
335
336".*?(Goodbye)$" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>\n"
337".*?(Goodbye)$" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>\n"
338".*?(Goodbye)$" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>\r\n"
339".*?(Goodbye)$" z "Hello Goodbye Goodbye Goodbye\n\n"# No Match
340
341# \Z matches at end of input, like $ with default flags.
342".*?(Goodbye)\Z" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>"
343".*?(Goodbye)" ZY "<0>Hello <1>Goodbye</1></0> Goodbye Goodbye"
344".*?(Goodbye)\Z" z "Hello Goodbye> Goodbye Goodbye "# No Match
345"here$" z "here\nthe end"# No Match
346
347".*?(Goodbye)\Z" "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>\n"
348".*?(Goodbye)\Z" "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>\n"
349".*?(Goodbye)\Z" "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>\r\n"
350".*?(Goodbye)\Z" "Hello Goodbye Goodbye Goodbye\n\n"# No Match
351
352# \z matches only at the end of string.
353# no special treatment of new lines.
354# no dependencies on flag settings.
355".*?(Goodbye)\z" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>"
356".*?(Goodbye)\z" z "Hello Goodbye Goodbye Goodbye "# No Match
357"here$" z "here\nthe end"# No Match
358
359".*?(Goodbye)\z" z "Hello Goodbye Goodbye Goodbye\n"# No Match
360".*?(Goodbye)\n\z" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1>\n</0>"
361"abc\z|def" ZY "abc<0>def</0>"
362
363# (?# comment) doesn't muck up pattern
364"Hello (?# this is a comment) world" " <0>Hello world</0>..."
365
366# Check some implementation corner cases base on the way literal strings are compiled.
367"A" "<0>A</0>"
368"AB" "<0>AB</0>ABABAB"
369"AB+" "<0>ABBB</0>A"
370"AB+" "<0>AB</0>ABAB"
371"ABC+" "<0>ABC</0>ABC"
372"ABC+" "<0>ABCCCC</0>ABC"
373"(?:ABC)+" "<0>ABCABCABC</0>D"
374"(?:ABC)DEF+" "<0>ABCDEFFF</0>D"
375"AB\.C\eD\u0666E" "<0>AB.C\u001BD\u0666E</0>F"
376"ab\Bde" "<0>abde</0>"
377
378# loop breaking
379"(a?)*" "<0><1></1></0>xyz"
380"(a?)+" "<0><1></1></0>xyz"
381"^(?:a?b?)*$" "a--"
382"(x?)*xyz" "<0>xx<1></1>xyz</0>" # Sligthly wierd, but correct. The "last" time through (x?),
383 # it matches the empty string.
384
385# Set expressions, basic operators and escapes work
386#
387"[\d]+" "<0>0123</0>abc/.,"
388"[^\d]+" "0123<0>abc/.,</0>"
389"[\D]+" "0123<0>abc/.,</0>"
390"[^\D]+" "<0>0123</0>abc/.,"
391
392"[\s]+" "<0> \t</0>abc/.,"
393"[^\s]+" " \t<0>abc/.,</0>"
394"[\S]+" " \t<0>abc/.,</0>"
395"[^\S]+" "<0> \t</0>abc/.,"
396
397"[\w]+" "<0>abc123</0> .,;"
398"[^\w]+" "abc123<0> .,;</0>"
399"[\W]+" "abc123<0> .,;</0>"
400"[^\W]+" "<0>abc123</0> .,;"
401
402"[\z]+" "abc<0>zzz</0>def" # \z has no special meaning
403"[^\z]+" "<0>abc</0>zzzdef"
404"[\^]+" "abc<0>^^</0>"
405"[^\^]+" "<0>abc</0>^^"
406
407"[\u0041c]+" "<0>AcAc</0>def"
408"[\U00010002]+" "<0>\ud800\udc02</0>\U00010003"
409"[^\U00010002]+" "<0>Hello</0>\x{10002}"
410"[\x61b]+" "<0>abab</0>cde"
411#"[\x6z]+" "\x06" #TODO: single hex digits should fail
412"[\x{9}\x{75}\x{6d6}\x{6ba6}\x{6146B}\x{10ffe3}]+" "<0>\u0009\u0075\u06d6\u6ba6\U0006146B\U0010ffe3</0>abc"
413
414"[\N{LATIN CAPITAL LETTER TONE SIX}ab\N{VARIATION SELECTOR-70} ]+" "x<0> \u0184\U000E0135 ab</0>c"
415"[\N{LATIN SMALL LETTER C}-\N{LATIN SMALL LETTER F}]+" "ab<0>cdef</0>ghi"
416
417
418
419#
420# [set expressions], check the precedence of '-', '&', '--', '&&'
421# '-' and '&', for compatibility with ICU UnicodeSet, have the same
422# precedence as the implicit Union between adjacent items.
423# '--' and '&&', for compatibility with Java, have lower precedence than
424# the implicit Union operations. '--' and '&&' themselves
425# have the same precedence, and group left to right.
426#
427"[[a-m]-[f-w]p]+" "<0>dep</0>fgwxyz"
428"[^[a-m]-[f-w]p]+" "dep<0>fgwxyz</0>"
429
430"[[a-m]--[f-w]p]+" "<0>de</0>pfgwxyz"
431"[^[a-m]--[f-w]p]+" "de<0>pfgwxyz</0>"
432
433"[[a-m]&[e-s]w]+" "<0>efmw</0>adnst"
434"[^[a-m]&[e-s]w]+" "efmw<0>adnst</0>"
435
436"[[a-m]&[e-s]]+" "<0>efm</0>adnst"
437
438
439
440# {min,max} iteration qualifier
441"A{3}BC" "<0>AAABC</0>"
442
443"(ABC){2,3}AB" "no matchAB"
444"(ABC){2,3}AB" "ABCAB"
445"(ABC){2,3}AB" "<0>ABC<1>ABC</1>AB</0>"
446"(ABC){2,3}AB" "<0>ABCABC<1>ABC</1>AB</0>"
447"(ABC){2,3}AB" "<0>ABCABC<1>ABC</1>AB</0>CAB"
448
449"(ABC){2}AB" "ABCAB"
450"(ABC){2}AB" "<0>ABC<1>ABC</1>AB</0>"
451"(ABC){2}AB" "<0>ABC<1>ABC</1>AB</0>CAB"
452"(ABC){2}AB" "<0>ABC<1>ABC</1>AB</0>CABCAB"
453
454"(ABC){2,}AB" "ABCAB"
455"(ABC){2,}AB" "<0>ABC<1>ABC</1>AB</0>"
456"(ABC){2,}AB" "<0>ABCABC<1>ABC</1>AB</0>"
457"(ABC){2,}AB" "<0>ABCABCABC<1>ABC</1>AB</0>"
458
459"X{0,0}ABC" "<0>ABC</0>"
460"X{0,1}ABC" "<0>ABC</0>"
461
462"(?:Hello(!{1,3}) there){1}" "Hello there"
463"(?:Hello(!{1,3}) there){1}" "<0>Hello<1>!</1> there</0>"
464"(?:Hello(!{1,3}) there){1}" "<0>Hello<1>!!</1> there</0>"
465"(?:Hello(!{1,3}) there){1}" "<0>Hello<1>!!!</1> there</0>"
466"(?:Hello(!{1,3}) there){1}" "Hello!!!! there"
467
468# Nongreedy {min,max}? intervals
469"(ABC){2,3}?AB" "no matchAB"
470"(ABC){2,3}?AB" "ABCAB"
471"(ABC){2,3}?AB" "<0>ABC<1>ABC</1>AB</0>"
472"(ABC){2,3}?AB" "<0>ABC<1>ABC</1>AB</0>CAB"
473"(ABC){2,3}?AB" "<0>ABC<1>ABC</1>AB</0>CABCAB"
474"(ABC){2,3}?AX" "<0>ABCABC<1>ABC</1>AX</0>"
475"(ABC){2,3}?AX" "ABC<0>ABCABC<1>ABC</1>AX</0>"
476
477# Possessive {min,max}+ intervals
478"(ABC){2,3}+ABC" "ABCABCABC"
479"(ABC){1,2}+ABC" "<0>ABC<1>ABC</1>ABC</0>"
480"(?:(.)\1){2,5}+." "<0>aabbcc<1>d</1>de</0>x"
481
482
483# Atomic Grouping
484"(?>.*)abc" "abcabcabc" # no match. .* consumed entire string.
485"(?>(abc{2,4}?))(c*)" "<0><1>abcc</1><2>ccc</2></0>ddd"
486"(\.\d\d(?>[1-9]?))\d+" "1.625"
487"(\.\d\d(?>[1-9]?))\d+" "1<0><1>.625</1>0</0>"
488
489# Possessive *+
490"(abc)*+a" "abcabcabc"
491"(abc)*+a" "<0>abc<1>abc</1>a</0>b"
492"(a*b)*+a" "<0><1>aaaab</1>a</0>aaa"
493
494# Possessive ?+
495"c?+ddd" "<0>cddd</0>"
496"c?+cddd" "cddd"
497"c?cddd" "<0>cddd</0>"
498
499# Back Reference
500"(?:ab(..)cd\1)*" "<0>ab23cd23ab<1>ww</1>cdww</0>abxxcdyy"
501"ab(?:c|(d?))(\1)" "<0>ab<1><2></2></1></0>c"
502"ab(?:c|(d?))(\1)" "<0>ab<1>d</1><2>d</2></0>"
503"ab(?:c|(d?))(\1)" "<0>ab<1></1><2></2></0>e"
504"ab(?:c|(d?))(\1)" "<0>ab<1></1><2></2></0>"
505
506# Back References that hit/don't hit end
507"(abcd) \1" z "abcd abc"
508"(abcd) \1" Z "<0><1>abcd</1> abcd</0>"
509"(abcd) \1" Z "<0><1>abcd</1> abcd</0> "
510
511# Case Insensitve back references that hit/don't hit end.
512"(abcd) \1" zi "abcd abc"
513"(abcd) \1" Zi "<0><1>abcd</1> ABCD</0>"
514"(abcd) \1" Zi "<0><1>abcd</1> ABCD</0> "
515
516# Back references that hit/don't hit boundary limits.
517
518"(abcd) \1" z "<r>abcd abc</r>d "
519"(abcd) \1" Z "<r><0><1>abcd</1> abcd</0></r> "
520"(abcd) \1" Z "<r><0><1>abcd</1> abcd</0> </r>"
521
522"(abcd) \1" zi "<r>abcd abc</r>d "
523"(abcd) \1" Zi "<r><0><1>abcd</1> abcd</0></r> "
524"(abcd) \1" Zi "<r><0><1>abcd</1> abcd</0> </r>"
525
526# Back reference that fails match near the end of input without actually hitting the end.
527"(abcd) \1" ZL "abcd abd"
528"(abcd) \1" ZLi "abcd abd"
529
530# Back reference to a zero-length match. They are always a successful match.
531"ab(x?)cd(\1)ef" "<0>ab<1></1>cd<2></2>ef</0>"
532"ab(x?)cd(\1)ef" i "<0>ab<1></1>cd<2></2>ef</0>"
533
534# Back refs to capture groups that didn't participate in the match.
535"ab(?:(c)|(d))\1" "abde"
536"ab(?:(c)|(d))\1" "<0>ab<1>c</1>c</0>e"
537"ab(?:(c)|(d))\1" i "abde"
538"ab(?:(c)|(d))\1" i "<0>ab<1>c</1>c</0>e"
539
540# Named back references
541"(?<one>abcd)\k<one>" "<0><1>abcd</1>abcd</0>"
542"(no)?(?<one>abcd)\k<one>" "<0><2>abcd</2>abcd</0>"
543
544"(?<a_1>...)" E " " # backref names are ascii letters & numbers only"
545"(?<1a>...)" E " " # backref names must begin with a letter"
546"(?<a>.)(?<a>.)" E " " # Repeated names are illegal.
547
548
549# Case Insensitive
550"aBc" i "<0>ABC</0>"
551"a[^bc]d" i "ABD"
552'((((((((((a))))))))))\10' i "<0><1><2><3><4><5><6><7><8><9><10>A</10></9></8></7></6></5></4></3></2></1>A</0>"
553
554"(?:(?i)a)b" "<0>Ab</0>"
555"ab(?i)cd" "<0>abCd</0>"
556"ab$cd" "abcd"
557
558"ssl" i "abc<0>ßl</0>xyz"
559"ssl" i "abc<0>ẞl</0>xyz"
560"FIND" i "can <0>find</0> ?" # fi ligature, \ufb01
561"find" i "can <0>FIND</0> ?"
562"ῧ" i "xxx<0>ῧ</0>xxx" # Composed char (match string) decomposes when case-folded (pattern)
563
564# White space handling
565"a b" "ab"
566"abc " "abc"
567"abc " "<0>abc </0>"
568"ab[cd e]z" "<0>ab z</0>"
569"ab\ c" "<0>ab c</0> "
570"ab c" "<0>ab c</0> "
571"ab c" x "ab c "
572"ab\ c" x "<0>ab c</0> "
573
574#
575# Pattern Flags
576#
577"(?u)abc" "<0>abc</0>"
578"(?-u)abc" "<0>abc</0>"
579
580#
581# \c escapes (Control-whatever)
582#
583"\cA" "<0>\u0001</0>"
584"\ca" "<0>\u0001</0>"
585"\c\x" "<0>\u001cx</0>"
586
587
588#Multi-line mode
589'b\s^' m "a\nb\n"
590"(?m)^abc$" "abc \n abc\n<0>abc</0>\nabc"
591"(?m)^abc$" 2 "abc \n abc\nabc\n<0>abc</0>"
592"^abc$" 2 "abc \n abc\nabc\nabc"
593
594# Empty and full range
595"[\u0000-\U0010ffff]+" "<0>abc\u0000\uffff\U00010000\U0010ffffzz</0>"
596"[^\u0000-\U0010ffff]" "abc\u0000\uffff\U00010000\U0010ffffzz"
597"[^a--a]+" "<0>abc\u0000\uffff\U00010000\U0010ffffzz</0>"
598
599# Free-spacing mode
600"a b c # this is a comment" x "<0>abc</0> "
601'^a (?#xxx) (?#yyy) {3}c' x "<0>aaac</0>"
602"a b c [x y z]" x "abc "
603"a b c [x y z]" x "a b c "
604"a b c [x y z]" x "<0>abcx</0>yz"
605"a b c [x y z]" x "<0>abcy</0>yz"
606
607#
608# Look Behind
609#
610"(?<=a)b" "a<0>b</0>"
611"(.*)(?<=[bc])" "<0><1>abc</1></0>d"
612"(?<=(abc))def" "<1>abc</1><0>def</0>" # lookbehind precedes main match.
613"(?<=ab|abc)xyz" "abwxyz" # ab matches, but not far enough.
614"(?<=abc)cde" "abcde"
615"(?<=abc|ab)cde" "ab<0>cde</0>"
616"(?<=abc|ab)cde" "abc<0>cde</0>"
617
618"(?<=bc?c?c?)cd" "ab<0>cd</0>"
619"(?<=bc?c?c?)cd" "abc<0>cd</0>"
620"(?<=bc?c?c?)cd" "abcc<0>cd</0>"
621"(?<=bc?c?c?)cd" "abccc<0>cd</0>"
622"(?<=bc?c?c?)cd" "abcccccd"
623"(?<=bc?c?c?)c+d" "ab<0>cccccd</0>"
624
625".*(?<=: ?)(\w*)" "<0>1:one 2: two 3:<1>three</1></0> "
626
627#
628# Named Characters
629#
630"a\N{LATIN SMALL LETTER B}c" "<0>abc</0>"
631"a\N{LATIN SMALL LETTER B}c" i "<0>abc</0>"
632"a\N{LATIN SMALL LETTER B}c" i "<0>aBc</0>"
633"a\N{LATIN SMALL LETTER B}c" "aBc"
634
635"\N{FULL STOP}*" "<0>...</0>abc"
636
637"$" "abc<0></0>"
638
639#
640# Optimizations of .* at end of patterns
641#
642"abc.*" "<0>abcdef</0>"
643"abc.*$" "<0>abcdef</0>"
644"abc(.*)" "<0>abc<1>def</1></0>"
645"abc(.*)" "<0>abc<1></1></0>"
646"abc.*" "<0>abc</0>\ndef"
647"abc.*" s "<0>abc\ndef</0>"
648"abc.*$" s "<0>abc\ndef</0>"
649"abc.*$" "abc\ndef"
650"abc.*$" m "<0>abc</0>\ndef"
651"abc.*\Z" m "abc\ndef"
652"abc.*\Z" sm "<0>abc\ndef</0>"
653
654"abc*" "<0>abccc</0>d"
655"abc*$" "<0>abccc</0>"
656"ab(?:ab[xyz]\s)*" "<0>ababy abx </0>abc"
657
658"(?:(abc)|a)(?:bc)+" "<0>abc</0>"
659"(?:(abc)|a)(?:bc)*" "<0><1>abc</1></0>"
660"^[+\-]?[0-9]*\.?[0-9]*" "<0>123.456</0>"
661
662"ab.+yz" "<0>abc12345xyz</0>ttt"
663"ab.+yz" s "<0>abc12345xyz</0>ttt"
664
665"ab.+yz" "abc123\n45xyzttt"
666"ab.+yz" s "<0>abc12\n345xyz</0>ttt"
667
668"ab[0-9]+yz" "---abyz+++"
669"ab[0-9]+yz" "---<0>ab1yz</0>+++"
670"ab[0-9]+yz" "---<0>ab12yz</0>+++"
671"ab[0-9]+yz" "---<0>ab123456yz</0>+++"
672
673"ab([0-9]+|[A-Z]+)yz" "---abyz+++"
674"ab([0-9]+|[A-Z]+)yz" "---<0>ab<1>1</1>yz</0>+++"
675"ab([0-9]+|[A-Z]+)yz" "---<0>ab<1>12</1>yz</0>+++"
676"ab([0-9]+|[A-Z]+)yz" "---<0>ab<1>A</1>yz</0>+++"
677"ab([0-9]+|[A-Z]+)yz" "---<0>ab<1>AB</1>yz</0>+++"
678"ab([0-9]+|[A-Z]+)yz" "---<0>ab<1>ABCDE</1>yz</0>+++"
679
680#
681# Hex format \x escaping
682#
683"ab\x63" "<0>abc</0>"
684"ab\x09w" "<0>ab\u0009w</0>"
685"ab\xabcdc" "<0>ab\u00abcdc</0>"
686"ab\x{abcd}c" "<0>ab\uabcdc</0>"
687"ab\x{101234}c" "<0>ab\U00101234c</0>"
688"abα" "<0>abα</0>"
689
690#
691# Octal Escaping. This conforms to Java conventions, not Perl.
692"\0101\00\03\073\0154\01442" "<0>A\u0000\u0003\u003b\u006c\u0064\u0032</0>"
693"\0776" "<0>\u003f\u0036</0>" # overflow, the 6 is literal.
694"\0376xyz" "<0>\u00fexyz</0>"
695"\08" E "<0>\u00008</0>"
696"\0" E "x"
697
698#
699# \u Surrogate Pairs
700#
701"\ud800\udc00" "<0>\U00010000</0>"
702"\ud800\udc00*" "<0>\U00010000\U00010000\U00010000</0>\U00010001"
703"\ud800\ud800\udc00" "<0>\ud800\U00010000</0>\U00010000\U00010000\U00010001"
704"(\ud800)(\udc00)" "\U00010000"
705"\U00010001+" "<0>\U00010001\U00010001</0>\udc01"
706
707#
708# hitEnd with find()
709#
710"abc" Z "aa<0>abc</0> abcab"
711"abc" 2Z "aaabc <0>abc</0>ab"
712"abc" 3z "aa>abc abcab"
713
714#
715# \ escaping
716#
717"abc\jkl" "<0>abcjkl</0>" # escape of a non-special letter is just itself.
718"abc[ \j]kl" "<0>abcjkl</0>"
719
720#
721# \R all newline sequences.
722#
723"abc\Rxyz" "<0>abc\u000axyz</0>gh"
724"abc\Rxyz" "<0>abc\u000bxyz</0>gh"
725"abc\Rxyz" "<0>abc\u000cxyz</0>gh"
726"abc\Rxyz" "<0>abc\u000dxyz</0>gh"
727"abc\Rxyz" "<0>abc\u0085xyz</0>gh"
728"abc\Rxyz" "<0>abc\u2028xyz</0>gh"
729"abc\Rxyz" "<0>abc\u2029xyz</0>gh"
730"abc\Rxyz" "<0>abc\u000d\u000axyz</0>gh"
731
732"abc\R\nxyz" "abc\u000d\u000axyzgh" # \R cannot match only the CR from a CR/LF sequence.
733"abc\r\nxyz" "<0>abc\u000d\u000axyz</0>gh"
734
735"abc\Rxyz" "abc\u0009xyz" # Assorted non-matches.
736"abc\Rxyz" "abc\u000exyz"
737"abc\Rxyz" "abc\u202axyz"
738
739# \v \V single character new line sequences.
740
741"abc\vxyz" "<0>abc\u000axyz</0>gh"
742"abc\vxyz" "<0>abc\u000bxyz</0>gh"
743"abc\vxyz" "<0>abc\u000cxyz</0>gh"
744"abc\vxyz" "<0>abc\u000dxyz</0>gh"
745"abc\vxyz" "<0>abc\u0085xyz</0>gh"
746"abc\vxyz" "<0>abc\u2028xyz</0>gh"
747"abc\vxyz" "<0>abc\u2029xyz</0>gh"
748"abc\vxyz" "abc\u000d\u000axyzgh"
749"abc\vxyz" "abc?xyzgh"
750
751"abc[\v]xyz" "<0>abc\u000axyz</0>gh"
752"abc[\v]xyz" "<0>abc\u000bxyz</0>gh"
753"abc[\v]xyz" "<0>abc\u000cxyz</0>gh"
754"abc[\v]xyz" "<0>abc\u000dxyz</0>gh"
755"abc[\v]xyz" "<0>abc\u0085xyz</0>gh"
756"abc[\v]xyz" "<0>abc\u2028xyz</0>gh"
757"abc[\v]xyz" "<0>abc\u2029xyz</0>gh"
758"abc[\v]xyz" "abc\u000d\u000axyzgh"
759"abc[\v]xyz" "abc?xyzgh"
760
761"abc\Vxyz" "abc\u000axyzgh"
762"abc\Vxyz" "abc\u000bxyzgh"
763"abc\Vxyz" "abc\u000cxyzgh"
764"abc\Vxyz" "abc\u000dxyzgh"
765"abc\Vxyz" "abc\u0085xyzgh"
766"abc\Vxyz" "abc\u2028xyzgh"
767"abc\Vxyz" "abc\u2029xyzgh"
768"abc\Vxyz" "abc\u000d\u000axyzgh"
769"abc\Vxyz" "<0>abc?xyz</0>gh"
770
771# \h \H horizontal white space. Defined as gc=space_separator plus ascii tab
772
773"abc\hxyz" "<0>abc xyz</0>gh"
774"abc\Hxyz" "abc xyzgh"
775"abc\hxyz" "<0>abc\u2003xyz</0>gh"
776"abc\Hxyz" "abc\u2003xyzgh"
777"abc\hxyz" "<0>abc\u0009xyz</0>gh"
778"abc\Hxyz" "abc\u0009xyzgh"
779"abc\hxyz" "abc?xyzgh"
780"abc\Hxyz" "<0>abc?xyz</0>gh"
781
782"abc[\h]xyz" "<0>abc xyz</0>gh"
783"abc[\H]xyz" "abc xyzgh"
784"abc[\h]xyz" "<0>abc\u2003xyz</0>gh"
785"abc[\H]xyz" "abc\u2003xyzgh"
786"abc[\h]xyz" "<0>abc\u0009xyz</0>gh"
787"abc[\H]xyz" "abc\u0009xyzgh"
788"abc[\h]xyz" "abc?xyzgh"
789"abc[\H]xyz" "<0>abc?xyz</0>gh"
790
791
792#
793# Bug xxxx
794#
795"(?:\-|(\-?\d+\d\d\d))?(?:\-|\-(\d\d))?(?:\-|\-(\d\d))?(T)?(?:(\d\d):(\d\d):(\d\d)(\.\d+)?)?(?:(?:((?:\+|\-)\d\d):(\d\d))|(Z))?" MG "<0>-1234-21-31T41:51:61.789+71:81</0>"
796
797
798#
799# A random, complex, meaningless pattern that should at least compile
800#
801"(?![^\<C\f\0146\0270\}&&[|\02-\x3E\}|X-\|]]{7,}+)[|\\\x98\<\?\u4FCFr\,\0025\}\004|\0025-\0521]|(?<![|\01-\u829E])|(?<!\p{Alpha})|^|(?-s:[^\x15\\\x24F\a\,\a\u97D8[\x38\a[\0224-\0306[^\0020-\u6A57]]]]??)(?xix:[^|\{\[\0367\t\e\x8C\{\[\074c\]V[|b\fu\r\0175\<\07f\066s[^D-\x5D]]])(?xx:^{5,}+)(?d)(?=^\D)|(?!\G)(?>\G)(?![^|\]\070\ne\{\t\[\053\?\\\x51\a\075\0023-\[&&[|\022-\xEA\00-\u41C2&&[^|a-\xCC&&[^\037\uECB3\u3D9A\x31\|\<b\0206\uF2EC\01m\,\ak\a\03&&\p{Punct}]]]])(?-dxs:[|\06-\07|\e-\x63&&[|Tp\u18A3\00\|\xE4\05\061\015\0116C|\r\{\}\006\xEA\0367\xC4\01\0042\0267\xBB\01T\}\0100\?[|\[-\u459B|\x23\x91\rF\0376[|\?-\x94\0113-\\\s]]]]{6}?)(?<=[^\t-\x42H\04\f\03\0172\?i\u97B6\e\f\uDAC2])(?=\B)(?>[^\016\r\{\,\uA29D\034\02[\02-\[|\t\056\uF599\x62\e\<\032\uF0AC\0026\0205Q\|\\\06\0164[|\057-\u7A98&&[\061-g|\|\0276\n\042\011\e\xE8\x64B\04\u6D0EDW^\p{Lower}]]]]?)(?<=[^\n\\\t\u8E13\,\0114\u656E\xA5\]&&[\03-\026|\uF39D\01\{i\u3BC2\u14FE]])(?<=[^|\uAE62\054H\|\}&&^\p{Space}])(?sxx)(?<=[\f\006\a\r\xB4]{1,5})|(?x-xd:^{5}+)()" "<0></0>abc"
802
803
804#
805# Bug 3225
806
807"1|9" "<0>1</0>"
808"1|9" "<0>9</0>"
809"1*|9" "<0>1</0>"
810"1*|9" "<0></0>9"
811
812"(?:a|ac)d" "<0>acd</0>"
813"a|ac" "<0>a</0>c"
814
815#
816# Bug 3320
817#
818"(a([^ ]+)){0,} (c)" "<0><1>a<2>b</2></1> <3>c</3></0> "
819"(a([^ ]+))* (c)" "<0><1>a<2>b</2></1> <3>c</3></0> "
820
821#
822# Bug 3436
823#
824"(.*?) *$" "<0><1>test</1> </0>"
825
826#
827# Bug 4034
828#
829"\D" "<0>A</0>BC\u00ffDEF"
830"\d" "ABC\u00ffDEF"
831"\D" "<0>\u00ff</0>DEF"
832"\d" "\u00ffDEF"
833"\D" "123<0>\u00ff</0>DEF"
834"\D" "<0>\u0100</0>DEF"
835"\D" "123<0>\u0100</0>DEF"
836
837#
838#bug 4024, new line sequence handling
839#
840"(?m)^" "<0></0>AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
841"(?m)^" 2 "AA\u000d\u000a<0></0>BB\u000d\u000aCC\u000d\u000a"
842"(?m)^" 3 "AA\u000d\u000aBB\u000d\u000a<0></0>CC\u000d\u000a"
843"(?m)^" 4 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
844
845"(?m)$" "AA<0></0>\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
846"(?m)$" 2 "AA\u000d\u000aBB<0></0>\u000d\u000aCC\u000d\u000a"
847"(?m)$" 3 "AA\u000d\u000aBB\u000d\u000aCC<0></0>\u000d\u000a"
848"(?m)$" 4 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a<0></0>"
849"(?m)$" 5 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
850
851"$" "AA\u000d\u000aBB\u000d\u000aCC<0></0>\u000d\u000a"
852"$" 2 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a<0></0>"
853"$" 3 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
854
855"$" "\u000a\u0000a<0></0>\u000a"
856"$" 2 "\u000a\u0000a\u000a<0></0>"
857"$" 3 "\u000a\u0000a\u000a"
858
859"$" "<0></0>"
860"$" 2 ""
861
862"$" "<0></0>\u000a"
863"$" 2 "\u000a<0></0>"
864"$" 3 "\u000a"
865
866"^" "<0></0>"
867"^" 2 ""
868
869"\Z" "<0></0>"
870"\Z" 2 ""
871"\Z" 2 "\u000a<0></0>"
872"\Z" "<0></0>\u000d\u000a"
873"\Z" 2 "\u000d\u000a<0></0>"
874
875
876# No matching ^ at interior new-lines if not in multi-line mode.
877"^" "<0></0>AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
878"^" 2 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
879
880#
881# Dot-matches-any mode, and stopping at new-lines if off.
882#
883"." "<0>1</0>23\u000aXYZ"
884"." 2 "1<0>2</0>3\u000aXYZ"
885"." 3 "12<0>3</0>\u000aXYZ"
886"." 4 "123\u000a<0>X</0>YZ" # . doesn't match newlines
887"." 4 "123\u000b<0>X</0>YZ"
888"." 4 "123\u000c<0>X</0>YZ"
889"." 4 "123\u000d<0>X</0>YZ"
890"." 4 "123\u000d\u000a<0>X</0>YZ"
891"." 4 "123\u0085<0>X</0>YZ"
892"." 4 "123\u2028<0>X</0>YZ"
893"." 4 "123\u2029<0>X</0>YZ"
894"." 4s "123<0>\u000a</0>XYZ" # . matches any
895"." 4s "123<0>\u000b</0>XYZ"
896"." 4s "123<0>\u000c</0>XYZ"
897"." 4s "123<0>\u000d</0>XYZ"
898"." 4s "123<0>\u000d\u000a</0>XYZ"
899"." 4s "123<0>\u0085</0>XYZ"
900"." 4s "123<0>\u2028</0>XYZ"
901"." 4s "123<0>\u2029</0>XYZ"
902".{6}" "123\u000a\u000dXYZ"
903".{6}" s "<0>123\u000a\u000dX</0>Y"
904
905
906#
907# Ranges
908#
909".*" "abc<r><0>def</0></r>ghi"
910"a" "aaa<r><0>a</0>aa</r>aaa"
911"a" 2 "aaa<r>a<0>a</0>a</r>aaa"
912"a" 3 "aaa<r>aa<0>a</0></r>aaa"
913"a" 4 "aaa<r>aaa</r>aaa"
914"a" "aaa<r><0>a</0>aa</r>aaa"
915
916#
917# [set] parsing, systematically run through all of the parser states.
918#
919#
920"[def]+" "abc<0>ddeeff</0>ghi" # set-open
921"[^def]+" "<0>abc</0>defghi"
922"[:digit:]+" "abc<0>123</0>def"
923"[:^digit:]+" "<0>abc</0>123def"
924"[\u005edef]+" "abc<0>de^f</0>ghi"
925
926"[]]+" "abc<0>]]]</0>[def" # set-open2
927"[^]]+" "<0>abc</0>]]][def"
928
929"[:Lu:]+" "abc<0>ABC</0>def" # set-posix
930"[:Lu]+" "abc<0>uL::Lu</0>"
931"[:^Lu]+" "abc<0>uL:^:Lu</0>"
932"[:]+" "abc<0>:::</0>def"
933"[:whats this:]" E " "
934"[--]+" dE "-------"
935
936"[[nested]]+" "xyz[<0>nnetsteed</0>]abc" #set-start
937"[\x{41}]+" "CB<0>AA</0>ZYX"
938"[\[\]\\]+" "&*<0>[]\\</0>..."
939"[*({<]+" "^&<0>{{(<<*</0>)))"
940
941
942"[-def]+" "abc<0>def-ef-d</0>xyz" # set-start-dash
943"[abc[--def]]" E " "
944
945"[x[&def]]+" "abc<0>def&</0>ghi" # set-start-amp
946"[&& is bad at start]" E " "
947
948"[abc" E " " # set-after-lit
949"[def]]" "abcdef"
950"[def]]" "abcde<0>f]</0>]"
951
952"[[def][ghi]]+" "abc]<0>defghi</0>[xyz" # set-after-set
953"[[def]ghi]+" "abc]<0>defghi</0>[xyz"
954"[[[[[[[[[[[abc]" E " "
955"[[abc]\p{Lu}]+" "def<0>abcABC</0>xyz"
956
957"[d-f]+" "abc<0>def</0>ghi" # set-after-range
958"[d-f[x-z]]+" "abc<0>defxyzzz</0>gw"
959"[\s\d]+" "abc<0> 123</0>def"
960"[d-f\d]+" "abc<0>def123</0>ghi"
961"[d-fr-t]+" "abc<0>defrst</0>uvw"
962
963"[abc--]" E " " # set-after-op
964"[[def]&&]" E " "
965"[-abcd---]+" "<0>abc</0>--" #[-abcd]--[-]
966"[&abcd&&&ac]+" "b<0>ac&&ca</0>d" #[&abcd]&&[&ac]
967
968"[[abcd]&[ac]]+" "b<0>acac</0>d" # set-set-amp
969"[[abcd]&&[ac]]+" "b<0>acac</0>d"
970"[[abcd]&&ac]+" "b<0>acac</0>d"
971"[[abcd]&ac]+" "<0>bacacd&&&</0>"
972
973"[abcd&[ac]]+" "<0>bacacd&&&</0>" #set-lit-amp
974"[abcd&&[ac]]+" "b<0>acac</0>d"
975"[abcd&&ac]+" "b<0>acac</0>d"
976
977"[[abcd]-[ac]]+" "a<0>bdbd</0>c" # set-set-dash
978"[[abcd]--[ac]]+" "a<0>bdbd</0>c"
979"[[abcd]--ac]+" "a<0>bdbd</0>c"
980"[[abcd]-ac]+" "<0>bacacd---</0>"
981
982"[a-d--[b-c]]+" "b<0>adad</0>c" # set-range-dash
983"[a-d--b-c]+" "b<0>adad</0>c"
984"[a-d-[b-c]]+" "<0>bad-adc</0>"
985"[a-d-b-c]+" "<0>bad-adc</0>"
986"[\w--[b-c]]+" "b<0>adad</0>c"
987"[\w--b-c]+" "b<0>adad</0>c"
988"[\w-[b-c]]+" "<0>bad-adc</0>"
989"[\w-b-c]+" "<0>bad-adc</0>"
990
991"[a-d&&[b-c]]+" "a<0>bcbc</0>d" # set-range-amp
992"[a-d&&b-c]+" "a<0>bcbc</0>d"
993"[a-d&[b-c]]+" "<0>abc&bcd</0>"
994"[a-d&b-c]+" "<0>abc&bcd</0>"
995
996"[abcd--bc]+" "b<0>adda</0>c" # set-lit-dash
997"[abcd--[bc]]+" "b<0>adda</0>c"
998"[abcd-[bc]]+" "<0>bad--dac</0>xyz"
999"[abcd-]+" "<0>bad--dac</0>xyz"
1000
1001"[abcd-\s]+" E "xyz<0>abcd --</0>xyz" # set-lit-dash-esc
1002"[abcd-\N{LATIN SMALL LETTER G}]+" "xyz-<0>abcdefg</0>hij-"
1003"[bcd-\{]+" "a<0>bcdefyz{</0>|}"
1004
1005"[\p{Ll}]+" "ABC<0>abc</0>^&*&" # set-escape
1006"[\P{Ll}]+" "abc<0>ABC^&*&</0>xyz"
1007"[\N{LATIN SMALL LETTER Q}]+" "mnop<0>qqq</0>rst"
1008"[\sa]+" "cb<0>a a </0>(*&"
1009"[\S]+" " <0>hello</0> "
1010"[\w]+" " <0>hello_world</0>! "
1011"[\W]+" "a<0> *$%#,</0>hello "
1012"[\d]+" "abc<0>123</0>def"
1013"[\D]+" "123<0>abc</0>567"
1014"[\$\#]+" "123<0>$#$#</0>\\"
1015
1016#
1017# Try each of the Java compatibility properties.
1018# These are checked here, while normal Unicode properties aren't, because
1019# these Java compatibility properties are implemented directly by regexp, while other
1020# properties are handled by ICU's Property and UnicodeSet APIs.
1021#
1022# These tests are only to verify that the names are recognized and the
1023# implementation isn't dead. They are not intended to verify that the
1024# function defintions are 100% correct.
1025#
1026"[:InBasic Latin:]+" "ΓΔΕΖΗΘ<0>hello, world.</0>ニヌネノハバパ"
1027"[:^InBasic Latin:]+" "<0>ΓΔΕΖΗΘ</0>hello, world.ニヌネノハバパ"
1028"\p{InBasicLatin}+" "ΓΔΕΖΗΘ<0>hello, world.</0>ニヌネノハバパ"
1029"\P{InBasicLatin}+" "<0>ΓΔΕΖΗΘ</0>hello, world.ニヌネノハバパ"
1030"\p{InGreek}+" "<0>ΓΔΕΖΗΘ</0>hello, world.ニヌネノハバパ"
1031"\p{InCombining Marks for Symbols}" "<0>\u20d0</0>"
1032"\p{Incombiningmarksforsymbols}" "<0>\u20d0</0>"
1033
1034
1035"\p{javaDefined}+" "\uffff<0>abcd</0>\U00045678"
1036"\p{javaDigit}+" "abc<0>1234</0>xyz"
1037"\p{javaIdentifierIgnorable}+" "abc<0>\u0000\u000e\u009f</0>xyz"
1038"\p{javaISOControl}+" "abc<0>\u0000\u000d\u0083</0>xyz"
1039"\p{javaJavaIdentifierPart}+" "#@!<0>abc123_$</0>;"
1040"\p{javaJavaIdentifierStart}+" "123\u0301<0>abc$_</0>%^&"
1041"\p{javaLetter}+" "123<0>abcDEF</0>&*()("
1042"\p{javaLetterOrDigit}+" "$%^&*<0>123abcகஙசஜஞ</0>☺♘♚☔☎♬⚄⚡"
1043"\p{javaLowerCase}+" "ABC<0>def</0>&^%#:="
1044"\p{javaMirrored}+" "ab$%<0>(){}[]</0>xyz"
1045"\p{javaSpaceChar}+" "abc<0> \u00ao\u2028</0>!@#"
1046"\p{javaSupplementaryCodePoint}+" "abc\uffff<0>\U00010000\U0010ffff</0>\u0000"
1047"\p{javaTitleCase}+" "abCE<0>Džῌᾨ</0>123"
1048"\p{javaUnicodeIdentifierStart}+" "123<0>abcⅣ</0>%^&&*"
1049"\p{javaUnicodeIdentifierPart}+" "%&&^<0>abc123\u0301\u0002</0>..."
1050"\p{javaUpperCase}+" "abc<0>ABC</0>123"
1051"\p{javaValidCodePoint}+" "<0>\u0000abc\ud800 unpaired \udfff |\U0010ffff</0>"
1052"\p{javaWhitespace}+" "abc\u00a0\u2007\u202f<0> \u0009\u001c\u001f\u2028</0>42"
1053"\p{all}+" "<0>123\u0000\U0010ffff</0>"
1054"\P{all}+" "123\u0000\U0010ffff"
1055
1056# [:word:] is implemented directly by regexp. Not a java compat property, but PCRE and others.
1057
1058"[:word:]+" ".??$<0>abc123ΓΔΕΖΗ_</0>%%%"
1059"\P{WORD}+" "<0>.??$</0>abc123ΓΔΕΖΗ_%%%"
1060
1061#
1062# Errors on unrecognized ASCII letter escape sequences.
1063#
1064"[abc\Y]+" "<0>abcY</0>"
1065"[abc\Y]+" eE "<0>abcY</0>"
1066
1067"(?:a|b|c|\Y)+" "<0>abcY</0>"
1068"(?:a|b|c|\Y)+" eE "<0>abcY</0>"
1069
1070"\Q\Y\E" e "<0>\\Y</0>"
1071
1072#
1073# Reported problem
1074#
1075"[a-\w]" E "x"
1076
1077#
1078# Bug 4045
1079#
1080"A*" "<0>AAAA</0>"
1081"A*" 2 "AAAA<0></0>"
1082"A*" 3 "AAAA"
1083"A*" 4 "AAAA"
1084"A*" 5 "AAAA"
1085"A*" 6 "AAAA"
1086"A*" "<0></0>"
1087"A*" 2 ""
1088"A*" 3 ""
1089"A*" 4 ""
1090"A*" 5 ""
1091
1092#
1093# Bug 4046
1094#
1095"(?m)^" "<0></0>AA\u000dBB\u000dCC\u000d"
1096"(?m)^" 2 "AA\u000d<0></0>BB\u000dCC\u000d"
1097"(?m)^" 3 "AA\u000dBB\u000d<0></0>CC\u000d"
1098"(?m)^" 4 "AA\u000dBB\u000dCC\u000d"
1099"(?m)^" 5 "AA\u000dBB\u000dCC\u000d"
1100"(?m)^" 6 "AA\u000dBB\u000dCC\u000d"
1101
1102"(?m)^" "<0></0>AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
1103"(?m)^" 2 "AA\u000d\u000a<0></0>BB\u000d\u000aCC\u000d\u000a"
1104"(?m)^" 3 "AA\u000d\u000aBB\u000d\u000a<0></0>CC\u000d\u000a"
1105"(?m)^" 4 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
1106
1107#
1108# Bug 4059
1109#
1110"\w+" "<0>イチロー</0>"
1111"\b....\b." "<0>イチロー?</0>"
1112
1113
1114#
1115# Bug 4058 ICU Unicode Set patterns have an odd feature -
1116# A $ as the last character before the close bracket means match
1117# a \uffff, which means off the end of the string in transliterators.
1118# Didn't make sense for regular expressions, and is now fixed.
1119#
1120"[\$](P|C|D);" "<0>$<1>P</1>;</0>"
1121"[$](P|C|D);" "<0>$<1>P</1>;</0>"
1122"[$$](P|C|D);" "<0>$<1>P</1>;</0>"
1123
1124#
1125# bug 4888 Flag settings lost in some cases.
1126#
1127"((a){2})|(#)" is "no"
1128"((a){2})|(#)" is "<0><1>a<2>a</2></1></0>#"
1129"((a){2})|(#)" is "a<0><3>#</3></0>"
1130
1131"((a|b){2})|c" is "<0>c</0>"
1132"((a|b){2})|c" is "<0>C</0>"
1133"((a|b){2})|c" s "C"
1134
1135#
1136# bug 5617 ZWJ \u200d shoudn't cause word boundaries
1137#
1138".+?\b" "<0> </0>\u0935\u0915\u094D\u200D\u0924\u0947 "
1139".+?\b" 2 " <0>\u0935\u0915\u094D\u200D\u0924\u0947</0> "
1140".+?\b" 3 " \u0935\u0915\u094D\u200D\u0924\u0947 "
1141
1142#
1143# bug 5386 "^.*$" should match empty input
1144#
1145"^.*$" "<0></0>"
1146"^.*$" m "<0></0>"
1147"^.*$" "<0></0>\n"
1148"(?s)^.*$" "<0>\n</0>"
1149
1150#
1151# bug 5386 Empty pattern and empty input should match.
1152#
1153"" "<0></0>abc"
1154"" "<0></0>"
1155
1156#
1157# bug 5386 Range upper and lower bounds can be equal
1158#
1159"[a-a]" "<0>a</0>"
1160
1161#
1162# bug 5386 $* should not fail, should match empty string.
1163#
1164"$*" "<0></0>abc"
1165
1166#
1167# bug 5386 \Q ... \E escaping problem
1168#
1169"[a-z\Q-$\E]+" "QE<0>abc-def$</0>."
1170
1171# More reported 5386 Java comaptibility failures
1172#
1173"[^]*abb]*" "<0>kkkk</0>"
1174"\xa" "huh" # Java would like to be warned.
1175"^.*$" "<0></0>"
1176
1177#
1178# bug 5386 Empty left alternation should produce a zero length match.
1179#
1180"|a" "<0></0>a"
1181"$|ab" "<0>ab</0>"
1182"$|ba" "ab<0></0>"
1183
1184#
1185# bug 5386 Java compatibility for set expressions
1186#
1187"[a-z&&[cde]]+" "ab<0>cde</0>fg"
1188
1189#
1190# bug 6019 matches() needs to backtrack and check for a longer match if the
1191# first match(es) found don't match the entire input.
1192#
1193"a?|b" "<0></0>b"
1194"a?|b" M "<0>b</0>"
1195"a?|.*?u|stuff|d" M "<0>stuff</0>"
1196"a?|.*?(u)|stuff|d" M "<0>stuff<1>u</1></0>"
1197"a+?" "<0>a</0>aaaaaaaaaaaa"
1198"a+?" M "<0>aaaaaaaaaaaaa</0>"
1199
1200#
1201# Bug 7724. Expression to validate zip codes.
1202#
1203"(?!0{5})(\d{5})(?!-?0{4})(-?\d{4})?" "<0><1>94040</1><2>-3344</2></0>"
1204"(?!0{5})(\d{5})(?!-?0{4})(-?\d{4})?" "94040-0000"
1205"(?!0{5})(\d{5})(?!-?0{4})(-?\d{4})?" "00000-3344"
1206
1207#
1208# Bug 8666. Assertion failure on match, bad operand to JMP_SAV_X opcode.
1209#
1210"((.??)+|A)*" "<0><1><2></2></1></0>AAAAABBBBBCCCCCDDDDEEEEE"
1211
1212#
1213# Bug 8826. Incorrect results with case insensitive matches.
1214#
1215"AS(X)" i "aßx"
1216"AS.*" i "aßx" # Expansion of sharp s can't split between pattern terms.
1217"ASßS" i "<0>aßß</0>" # All one literal string, does match.
1218"ASß{1}S" i "aßß" # Pattern with terms, no match.
1219"aßx" i "<0>assx</0>"
1220"aßx" i "<0>ASSX</0>"
1221"aßx" i "<0>aßx</0>"
1222"ASS(.)" i "<0>aß<1>x</1></0>"
1223
1224# Case Insensitive, probe some corner cases.
1225"ass+" i "aß" # Second 's' in pattern is qualified, can't combine with first.
1226"as+" i "aß"
1227"aßs" i "as" # Can't match half of a ß
1228"aß+" i "<0>assssssss</0>s"
1229"aß+" i "<0>assßSssSSS</0>s"
1230"a(ß?)+" i "<0>assssssss<1></1></0>s"
1231"a(ß?)+" i "<0>a<1></1></0>zzzzzzzzs"
1232
1233"\U00010400" i "<0>\U00010428</0>" # case folded supplemental code point.
1234
1235"sstuff" i "<0>ßtuff</0>" # exercise optimizations on what chars can start a match.
1236"sstuff" i "s<0>ßtuff</0>" # exercise optimizations on what chars can start a match.
1237"ßtuff" i "s<0>sstuff</0>"
1238"ßtuff" i "s<0>Sstuff</0>"
1239
1240"a(..)\1" i "<0>A<1>bc</1>BC</0>def"
1241"(ß)\1" i "aa<0><1>ss</1>ß</0>zz" # Case insensitive back reference
1242"..(.)\1" i "<0>aa<1>ß</1>ss</0>"
1243"ab(..)\1" i "xx<0>ab<1>ss</1>ß</0>ss"
1244
1245" (ss) ((\1.*)|(.*))" i "<0> <1>ss</1> <2><4>sß</4></2></0>" # The back reference 'ss' must not match in 'sß'
1246
1247# Bug 9057
1248# \u200c and \u200d should be word characters.
1249#
1250"\w+" " <0>abc\u200cdef\u200dghi</0> "
1251"\w+" i " <0>abc\u200cdef\u200dghi</0> "
1252"[\w]+" " <0>abc\u200cdef\u200dghi</0> "
1253"[\w]+" i " <0>abc\u200cdef\u200dghi</0> "
1254
1255# Bug 9283
1256# uregex_open fails for look-behind assertion + case-insensitive
1257
1258"(ab)?(?<=ab)cd|ef" i "<0><1>ab</1>cd</0>"
1259
1260# Bug 9719 Loop breaking on (zero length match){3,} (unlimited upper bound).
1261#
1262
1263"(?:abc){1,}abc" "<0>abcabcabcabcabc</0>"
1264"(?:2*){2,}?a2\z" "<0>2a2</0>"
1265"(?:2*){2,}?a2\z" "2a3"
1266"(?:x?+){3,}+yz" "w<0>yz</0>"
1267"(2*){2,}?a2\\z" "2a3"
1268"(2*){2,}?a2\\z" "<0>2<1></1>a2\\z</0>"
1269"(2*){2,}?a2\z" "<0>2<1></1>a2</0>"
1270
1271
1272# Bug 10024
1273# Incorrect (unbounded) longest match length with {1, 20} style quantifiers.
1274# Unbounded match is disallowed in look-behind expressions.
1275# Max match length is used to limit where to check for look-behind matches.
1276
1277"(?<=a{1,5})bc" "aaaa<0>bc</0>def"
1278"(?<=(?:aa){3,20})bc" "aaaaaa<0>bc</0>def"
1279"(?<!abc {1,100}|def {1,100}|ghi {1,100})jkl" "def jkl"
1280"(?<!abc {1,100}|def {1,100}|ghi {1,100})jkl" "rst <0>jkl</0>"
1281"(?<=a{11})bc" "aaaaaaaaaaa<0>bc</0>"
1282"(?<=a{11})bc" "aaaaaaaaaabc"
1283"(?<=a{1,})bc" E "aaaa<0>bc</0>def" # U_REGEX_LOOK_BEHIND_LIMIT error.
1284"(?<=(?:){11})bc" "<0>bc</0>" # Empty (?:) expression.
1285
1286# Bug 10835
1287# Match Start Set not being correctly computed for case insensitive patterns.
1288# (Test here is to dump the compiled pattern & manually check the start set.)
1289
1290"(private|secret|confidential|classified|restricted)" i "hmm, <0><1>Classified</1></0> stuff"
1291"(private|secret|confidential|classified|restricted)" "hmm, Classified stuff"
1292
1293# Bug 10844
1294
1295"^([\w\d:]+)$" "<0><1>DiesIst1Beispiel:text</1></0>"
1296"^([\w\d:]+)$" i "<0><1>DiesIst1Beispiel:text</1></0>"
1297"^(\w+\d\w+:\w+)$" "<0><1>DiesIst1Beispiel:text</1></0>"
1298"^(\w+\d\w+:\w+)$" i "<0><1>DiesIst1Beispiel:text</1></0>"
1299
1300# Bug 11049
1301# Edge cases in find() when pattern match begins with set of code points
1302# and the match begins at the end of the string.
1303
1304"A|B|C" "hello <0>A</0>"
1305"A|B|C" "hello \U00011234"
1306"A|B|\U00012345" "hello <0>\U00012345</0>"
1307"A|B|\U00010000" "hello \ud800"
1308
1309# Bug 11369
1310# Incorrect optimization of patterns with a zero length quantifier {0}
1311
1312"(.|b)(|b){0}\$(?#xxx){3}(?>\D*)" "AAAAABBBBBCCCCCDDDDEEEEE"
1313"(|b)ab(c)" "<0><1></1>ab<2>c</2></0>"
1314"(|b){0}a{3}(D*)" "<0>aaa<2></2></0>"
1315"(|b){0,1}a{3}(D*)" "<0><1></1>aaa<2></2></0>"
1316"((|b){0})a{3}(D*)" "<0><1></1>aaa<3></3></0>"
1317
1318# Bug 11370
1319# Max match length computation of look-behind expression gives result that is too big to fit in the
1320# in the 24 bit operand portion of the compiled code. Expressions should fail to compile
1321# (Look-behind match length must be bounded. This case is treated as unbounded, an error.)
1322
1323"(?<!(0123456789a){10000000})x" E "no match"
1324"(?<!\\ubeaf(\\ubeaf{11000}){11000})" E "no match"
1325
1326# Bug 11374 Bad integer overflow check in number conversion.
1327# 4294967300 converts to 4 with 32 bit overflow.
1328
1329"x{4294967300}" E "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
1330"x{0,4294967300}" E "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
1331
1332# Bug 11373
1333#
1334# Overflow checking in max match length computation for loops.
1335# Value here is 10 * 100000 * 3000 = 3E9, overflowing a 32 bit signed value.
1336# Before fixing, this case gave an assertion failure.
1337
1338"(?<=((0123456789){100000}){3000})abc" E "abc"
1339
1340# Bug 11507 Capture of an unpaired surrogate shouldn't allow a back reference to
1341# match half of a surrogate pair, but only another unpaired surrogate.
1342#
1343"pre(.)post\1" "pre\ud800post\ud800\udc00"
1344"pre(.)post\1" "<0>pre<1>\ud800</1>post\ud800</0> fin"
1345"pre(.)post\1" i "pre\ud800post\ud800\udc00" # case insensiteve backrefs take a different code path
1346"pre(.)post\1" i "<0>pre<1>\ud800</1>post\ud800</0> fin"
1347
1348# Bug 11554
1349#
1350# Maximum match length computation was assuming UTF-16.
1351# Used in look-behind matches to constrain how far back to look.
1352
1353"(?<=a\x{100000})spam" "***a\x{100000}<0>spam</0>**"
1354"(?<=aą)spam" "**aą<0>spam</0>**"
1355"(?<=ąabc)spam" "**ąabc<0>spam</0>**"
1356
1357"(?<=a\x{100000})spam" "***a\x{100001}spam**"
1358"(?<=aą)spam" "**bąspam**"
1359"(?<=ąabc)spam" "**ąabxspam**"
1360
1361# with negative look-behind
1362
1363"(?<!a\x{100000})spam" "***a\x{100000}spam**"
1364"(?<!aą)spam" "**aąspam**"
1365"(?<!ąabc)spam" "**ąabcspam**"
1366
1367"(?<!a\x{100000})spam" "***a\x{100001}<0>spam</0>**"
1368"(?<!aą)spam" "**bą<0>spam</0>**"
1369"(?<!ąabc)spam" "**ąabx<0>spam</0>**"
1370
1371# Bug #12930
1372#
1373# Minimum Match Length computation, int32_t overflow on an empty set in the pattern.
1374# The empty set, with no match possible, has a min match length of INT32_MAX.
1375# Was incremented subsequently. Caused assertion failure on pattern compile.
1376
1377"[^\u0000-\U0010ffff]bc?" "bc no match"
1378"[^\u0000-\U0010ffff]?bc?" "<0>bc</0> has a match"
1379
1380# Bug #12160 Hit End behavior after find fails to find.
1381# To match Java, should be true if find fails to find.
1382#
1383"abc" Z "<0>abc</0> abc abc xyz"
1384"abc" Z2 "abc <0>abc</0> abc xyz"
1385"abc" Z3 "abc abc <0>abc</0> xyz"
1386"abc" z4 "abc abc abc xyz"
1387
1388# Bug #13844 Verify that non-standard Java property names are recognized.
1389"[\p{IsAlphabetic}]" " <0>A</0>"
1390"[\P{IsAlphabetic}]" "A<0> </0>"
1391"[\p{IsIdeographic}]" "A<0>〆</0>"
1392"[\P{IsIdeographic}]" "〆<0>A</0>"
1393"[\p{IsLetter}]" " <0>A</0>"
1394"[\P{IsLetter}]" "A<0> </0>"
1395"[\p{Letter}]" " <0>A</0>"
1396"[\p{IsLowercase}]" "A<0>a</0>"
1397"[\P{IsLowercase}]" "a<0>A</0>"
1398"[\p{IsUppercase}]" "a<0>A</0>"
1399"[\P{IsUppercase}]" "A<0>a</0>"
1400"[\p{IsTitlecase}]" "D<0>Dz</0>"
1401"[\P{IsTitlecase}]" "Dz<0>D</0>"
1402"[\p{IsPunctuation}]" " <0>&</0>"
1403"[\P{IsPunctuation}]" "&<0> </0>"
1404"[\p{IsControl}]" " <0>\x{82}</0>"
1405"[\P{IsControl}]" "\x{82}<0> </0>"
1406"[\p{IsWhite_Space}]" "x<0> </0>"
1407"[\P{IsWhite_Space}]" " <0>x</0>"
1408"[\p{IsDigit}]" " <0>4</0>"
1409"[\P{IsDigit}]" "4<0> </0>"
1410"[\p{IsHex_Digit}]" " <0>F</0>"
1411"[\P{IsHex_Digit}]" "F<0> </0>"
1412"[\p{IsJoin_Control}]" " <0>\x{200d}</0>"
1413"[\P{IsJoin_Control}]" "\x{200d}<0> </0>"
1414"[\p{IsNoncharacter_Code_Point}]" "A<0>\x{5fffe}</0>"
1415"[\p{IsAssigned}]" "\x{10ffff}<0>a</0>"
1416"[\P{IsAssigned}]" "a<0>\x{10ffff}</0>"
1417
1418"[\p{InBasic Latin}]" "〆<0>A</0>"
1419"[\p{InBasicLatin}]" "〆<0>A</0>"
1420"[\p{InBasic-Latin}]" "〆<0>A</0>" # ICU accepts '-'; Java does not.
1421"[\p{InBasic_Latin}]" "〆<0>A</0>"
1422"[\p{Inbasiclatin}]" "〆<0>A</0>"
1423"[\p{inbasiclatin}]" E "〆<0>A</0>" # "In" must be cased as shown. Property name part is case insensitive.
1424"[\p{InCombining_Marks_for_Symbols}]" "a<0>\x{20DD}</0>" # COMBINING ENCLOSING CIRCLE
1425
1426"[\p{all}]*" "<0>\x{00}abc\x{10ffff}</0>"
1427"[\p{javaBadProperty}]" E "whatever"
1428"[\p{IsBadProperty}]" E "whatever"
1429"[\p{InBadBlock}]" E "whatever"
1430"[\p{In}]" E "whatever"
1431"[\p{Is}]" E "whatever"
1432"[\p{java}]" "x<0>ꦉ</0>" # Note: "java" is a valid script code.
1433
1434"[\p{javaLowerCase}]+" "A<0>a</0>"
1435"[\p{javaLowerCase}]+" i "<0>Aa</0>"
1436"[\P{javaLowerCase}]+" "<0>A</0>a"
1437"[\P{javaLowerCase}]+" i "Aa" # No Match because case fold of the set happens first, then negation.
1438 # JDK is not case insensitive w named properties, even though
1439 # the insensitive match flag is set. A JDK bug?
1440
1441"[a-z]+" i "<0>Aa</0>" # Matches JDK behavior.
1442"[^a-z]+" i "Aa" # (no match) which is JDK behavior. Case fold first, then negation.
1443
1444# Bug 20385. Assertion failure while compiling a negative look-behind expression consisting of a set with
1445# no contents. Meaning the [set] can never match. There is no syntax to directly express
1446# an empty set, so generate it by negating (^) a set of all code points.
1447# Also check empty sets in other contexts.
1448
1449"(?<![^[^a]a])" "<0></0>abc"
1450
1451"(?<![^\u0000-\U0010ffff])" "<0></0>abc"
1452"x(?<![^\u0000-\U0010ffff])" "<0>x</0>abc"
1453"x(?<![^\u0000-\U0010ffff]{1,5})" "<0>x</0>abc"
1454"x(?<![^\u0000-\U0010ffff]{0,5})" "xabc"
1455
1456"(?<=[^\u0000-\U0010ffff])" "abc"
1457"(x?<=[^\u0000-\U0010ffff])" "abc"
1458"x(?<=[^\u0000-\U0010ffff]{1,5})" "xabc"
1459"x(?<=[^\u0000-\U0010ffff]{0,5})" "<0>x</0>abc"
1460
1461"[^\u0000-\U0010ffff]" "a"
1462"[^[^\u0000-\U0010ffff]]" "<0>a</0>"
1463
1464"This is a string with (?:one |two |three )endings" "<0>This is a string with two endings</0>"
1465
1466# Bug ICU-20544. Similar to 20385, above. Assertion failure with a negative look-behind assertion containing
1467# a set with no contents. Look-behind pattern includes more than just the empty set.
1468
1469"(?<![ⰿ&&m]c)" "<0></0>abc" # note: first 'ⰿ' is \u2c3f, hence empty set.
1470"(?<![^\u0000-\U0010ffff]c)" "<0></0>abc"
1471"(?<=[^[^\1a]\1a]†)" "abc" # Problem also exists w positive look-behind
1472
1473# Bug ICU-20391. Crash in computation of minimum match length with nested look-around patterns.
1474#
1475"(?<=(?<=((?=)){0}+)" E "aaa"
1476"(?<=(?<=((?=)){0}+))" "<0></0>"
1477"(?<=c(?<=b((?=a)){1}+))" "aaa"
1478"abc(?=de(?=f))...g" "<0>abcdefg</0>"
1479"abc(?=de(?=f))...g" "abcdxfg"
1480
1481# Bug ICU-20618 Assertion failure with nested look-around expressions.
1482#
1483"(?<=(?<=b?(?=a)))" "hello, world."
1484
1485
1486# Random debugging, Temporary
1487#
1488
1489#
1490# Regexps from http://www.regexlib.com
1491#
1492"^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$" G "<0>G1 1AA</0>"
1493"^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$" G "<0>EH10 2QQ</0>"
1494"^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$" G "<0>SW1 1ZZ</0>"
1495"^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$" "G111 1AA"
1496"^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$" "X10 WW"
1497"^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$" "DDD 5WW"
1498#"^[\w\-]+(?:\.[\w\-]+)*@(?:[\w\-]+\.)+[a-zA-Z]{2,7}$" dG "<0>joe.tillis@unit.army.mil</0>" # TODO: \w in pattern
1499#"^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$" G "<0>jack_rabbit@slims.com</0>" # TODO: \w in pattern
1500#"^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$" G "<0>foo99@foo.co.uk</0>" # TODO: \w in pattern
1501#"^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$" "find_the_mistake.@foo.org" # TODO: \w in pattern
1502#"^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$" ".prefix.@some.net"
1503"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$" G "<0>asmith@mactec.com</0>"
1504"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$" G "<0>foo12@foo.edu</0>"
1505"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$" G "<0>bob.smith@foo.tv</0>"
1506"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$" "joe"
1507"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$" "@foo.com"
1508"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$" "a@a"
1509"^\d{1,2}\/\d{1,2}\/\d{4}$" G "<0>4/1/2001</0>"
1510"^\d{1,2}\/\d{1,2}\/\d{4}$" G "<0>12/12/2001</0>"
1511"^\d{1,2}\/\d{1,2}\/\d{4}$" G "<0>55/5/3434</0>"
1512"^\d{1,2}\/\d{1,2}\/\d{4}$" "1/1/01"
1513"^\d{1,2}\/\d{1,2}\/\d{4}$" "12 Jan 01"
1514"^\d{1,2}\/\d{1,2}\/\d{4}$" "1-1-2001"
1515"^(?:(?:(?:0?[13578]|1[02])(\/|-|\.)31)\1|(?:(?:0?[1,3-9]|1[0-2])(\/|-|\.)(?:29|30)\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:0?2(\/|-|\.)29\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:(?:0?[1-9])|(?:1[0-2]))(\/|-|\.)(?:0?[1-9]|1\d|2[0-8])\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" G "<0>01.1.02</0>"
1516"^(?:(?:(?:0?[13578]|1[02])(\/|-|\.)31)\1|(?:(?:0?[1,3-9]|1[0-2])(\/|-|\.)(?:29|30)\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:0?2(\/|-|\.)29\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:(?:0?[1-9])|(?:1[0-2]))(\/|-|\.)(?:0?[1-9]|1\d|2[0-8])\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" G "<0>11-30-2001</0>"
1517"^(?:(?:(?:0?[13578]|1[02])(\/|-|\.)31)\1|(?:(?:0?[1,3-9]|1[0-2])(\/|-|\.)(?:29|30)\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:0?2(\/|-|\.)29\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:(?:0?[1-9])|(?:1[0-2]))(\/|-|\.)(?:0?[1-9]|1\d|2[0-8])\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" G "<0>2/29/2000</0>"
1518"^(?:(?:(?:0?[13578]|1[02])(\/|-|\.)31)\1|(?:(?:0?[1,3-9]|1[0-2])(\/|-|\.)(?:29|30)\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:0?2(\/|-|\.)29\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:(?:0?[1-9])|(?:1[0-2]))(\/|-|\.)(?:0?[1-9]|1\d|2[0-8])\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" "02/29/01"
1519"^(?:(?:(?:0?[13578]|1[02])(\/|-|\.)31)\1|(?:(?:0?[1,3-9]|1[0-2])(\/|-|\.)(?:29|30)\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:0?2(\/|-|\.)29\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:(?:0?[1-9])|(?:1[0-2]))(\/|-|\.)(?:0?[1-9]|1\d|2[0-8])\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" "13/01/2002"
1520"^(?:(?:(?:0?[13578]|1[02])(\/|-|\.)31)\1|(?:(?:0?[1,3-9]|1[0-2])(\/|-|\.)(?:29|30)\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:0?2(\/|-|\.)29\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:(?:0?[1-9])|(?:1[0-2]))(\/|-|\.)(?:0?[1-9]|1\d|2[0-8])\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" "11/00/02"
1521"^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$" G "<0>127.0.0.1</0>"
1522"^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$" G "<0>255.255.255.0</0>"
1523"^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$" G "<0>192.168.0.1</0>"
1524"^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$" "1200.5.4.3"
1525"^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$" "abc.def.ghi.jkl"
1526"^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$" "255.foo.bar.1"
1527"(AUX|PRN|NUL|COM\d|LPT\d)+\s*$" G "<0>COM1</0>"
1528"(AUX|PRN|NUL|COM\d|LPT\d)+\s*$" G "<0>AUX</0>"
1529"(AUX|PRN|NUL|COM\d|LPT\d)+\s*$" G "<0>LPT1</0>"
1530"(AUX|PRN|NUL|COM\d|LPT\d)+\s*$" "image.jpg"
1531"(AUX|PRN|NUL|COM\d|LPT\d)+\s*$" "index.html"
1532"(AUX|PRN|NUL|COM\d|LPT\d)+\s*$" "readme.txt"
1533"^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" G "<0>29/02/1972</0>"
1534"^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" G "<0>5-9-98</0>"
1535"^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" G "<0>10-11-2002</0>"
1536"^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" "29/02/2003"
1537"^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" "12/13/2002"
1538"^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" "1-1-1500"
1539"^(user=([a-z0-9]+,)*(([a-z0-9]+){1});)?(group=([a-z0-9]+,)*(([a-z0-9]+){1});)?(level=[0-9]+;)?$" G "<0>user=foo,bar,quux;group=manager,admin;level=100;</0>"
1540"^(user=([a-z0-9]+,)*(([a-z0-9]+){1});)?(group=([a-z0-9]+,)*(([a-z0-9]+){1});)?(level=[0-9]+;)?$" G "<0>group=nobody;level=24;</0>"
1541"^(user=([a-z0-9]+,)*(([a-z0-9]+){1});)?(group=([a-z0-9]+,)*(([a-z0-9]+){1});)?(level=[0-9]+;)?$" "user=foo"
1542"^(user=([a-z0-9]+,)*(([a-z0-9]+){1});)?(group=([a-z0-9]+,)*(([a-z0-9]+){1});)?(level=[0-9]+;)?$" "blahh"
1543"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$" G "<0>(+44)(0)20-12341234</0>"
1544"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$" G "<0>02012341234</0>"
1545"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$" G "<0>+44 (0) 1234-1234</0>"
1546"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$" "(44+)020-12341234"
1547"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$" "12341234(+020)"
1548"\b(\w+)\s+\1\b" G "<0>Tell the the preacher</0>"
1549"\b(\w+)\s+\1\b" G "<0>some some</0>"
1550"\b(\w+)\s+\1\b" G "<0>hubba hubba</0>"
1551"\b(\w+)\s+\1\b" "once an annual report"
1552"\b(\w+)\s+\1\b" "mandate dated submissions"
1553"\b(\w+)\s+\1\b" "Hubba hubba"
1554"(^\+[0-9]{2}|^\+[0-9]{2}\(0\)|^\(\+[0-9]{2}\)\(0\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\-\s]{10}$)" G "<0>+31235256677</0>"
1555"(^\+[0-9]{2}|^\+[0-9]{2}\(0\)|^\(\+[0-9]{2}\)\(0\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\-\s]{10}$)" G "<0>+31(0)235256677</0>"
1556"(^\+[0-9]{2}|^\+[0-9]{2}\(0\)|^\(\+[0-9]{2}\)\(0\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\-\s]{10}$)" G "<0>023-5256677</0>"
1557"(^\+[0-9]{2}|^\+[0-9]{2}\(0\)|^\(\+[0-9]{2}\)\(0\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\-\s]{10}$)" "+3123525667788999"
1558"(^\+[0-9]{2}|^\+[0-9]{2}\(0\)|^\(\+[0-9]{2}\)\(0\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\-\s]{10}$)" "3123525667788"
1559"(^\+[0-9]{2}|^\+[0-9]{2}\(0\)|^\(\+[0-9]{2}\)\(0\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\-\s]{10}$)" "232-2566778"
1560"^[-+]?\d*\.?\d*$" G "<0>123</0>"
1561"^[-+]?\d*\.?\d*$" G "<0>+3.14159</0>"
1562"^[-+]?\d*\.?\d*$" G "<0>-3.14159</0>"
1563"^[-+]?\d*\.?\d*$" "abc"
1564"^[-+]?\d*\.?\d*$" "3.4.5"
1565"^[-+]?\d*\.?\d*$" "$99.95"
1566"^\$?([1-9]{1}[0-9]{0,2}(\,[0-9]{3})*(\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\.[0-9]{0,2})?|0(\.[0-9]{0,2})?|(\.[0-9]{1,2})?)$" G "<0>$1,234.50</0>"
1567"^\$?([1-9]{1}[0-9]{0,2}(\,[0-9]{3})*(\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\.[0-9]{0,2})?|0(\.[0-9]{0,2})?|(\.[0-9]{1,2})?)$" G "<0>$0.70</0>"
1568"^\$?([1-9]{1}[0-9]{0,2}(\,[0-9]{3})*(\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\.[0-9]{0,2})?|0(\.[0-9]{0,2})?|(\.[0-9]{1,2})?)$" G "<0>.7</0>"
1569"^\$?([1-9]{1}[0-9]{0,2}(\,[0-9]{3})*(\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\.[0-9]{0,2})?|0(\.[0-9]{0,2})?|(\.[0-9]{1,2})?)$" "$0,123.50"
1570"^\$?([1-9]{1}[0-9]{0,2}(\,[0-9]{3})*(\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\.[0-9]{0,2})?|0(\.[0-9]{0,2})?|(\.[0-9]{1,2})?)$" "$00.5"
1571"^[A-Z]{2}[0-9]{6}[A-DFM]{1}$" G "<0>AB123456D</0>"
1572"^[A-Z]{2}[0-9]{6}[A-DFM]{1}$" G "<0>AB123456F</0>"
1573"^[A-Z]{2}[0-9]{6}[A-DFM]{1}$" G "<0>AB123456M</0>"
1574"^[A-Z]{2}[0-9]{6}[A-DFM]{1}$" "AB123456E"
1575"^[A-Z]{2}[0-9]{6}[A-DFM]{1}$" "ab123456d"
1576#"(http|ftp|https):\/\/[\w]+(.[\w]+)([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?" G "<0>http://regxlib.com/Default.aspx</0>" # TODO: \w in pattern
1577#"(http|ftp|https):\/\/[\w]+(.[\w]+)([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?" G "<0>http://electronics.cnet.com/electronics/0-6342366-8-8994967-1.html</0>" # TODO: \w in pattern
1578#"(http|ftp|https):\/\/[\w]+(.[\w]+)([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?" "www.yahoo.com" # TODO: \w in pattern
1579"^[0-9]{4}\s{0,1}[a-zA-Z]{2}$" G "<0>2034AK</0>"
1580"^[0-9]{4}\s{0,1}[a-zA-Z]{2}$" G "<0>2034 AK</0>"
1581"^[0-9]{4}\s{0,1}[a-zA-Z]{2}$" G "<0>2034 ak</0>"
1582"^[0-9]{4}\s{0,1}[a-zA-Z]{2}$" "2034 AK"
1583"^[0-9]{4}\s{0,1}[a-zA-Z]{2}$" "321321 AKSSAA"
1584"((\d{2})|(\d))\/((\d{2})|(\d))\/((\d{4})|(\d{2}))" G "<0>4/5/91</0>"
1585"((\d{2})|(\d))\/((\d{2})|(\d))\/((\d{4})|(\d{2}))" G "<0>04/5/1991</0>"
1586"((\d{2})|(\d))\/((\d{2})|(\d))\/((\d{4})|(\d{2}))" G "<0>4/05/89</0>"
1587"((\d{2})|(\d))\/((\d{2})|(\d))\/((\d{4})|(\d{2}))" "4/5/1"
1588#"(^|\s|\()((([1-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-]((2[0-9]){1}|(3[01]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:])|(^|\s|\()((([0-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-](([11-31]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:|$|\>])){1}){1}){1}){1}" G "<0>01/01/2001 </0>" #TODO - \s in pattern.
1589"(^|\s|\()((([1-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-]((2[0-9]){1}|(3[01]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:])|(^|\s|\()((([0-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-](([11-31]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:|$|\>])){1}){1}){1}){1}" G "<0>01-01-2001:</0>"
1590"(^|\s|\()((([1-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-]((2[0-9]){1}|(3[01]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:])|(^|\s|\()((([0-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-](([11-31]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:|$|\>])){1}){1}){1}){1}" G "<0>(1-1-01)</0>"
1591"(^|\s|\()((([1-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-]((2[0-9]){1}|(3[01]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:])|(^|\s|\()((([0-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-](([11-31]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:|$|\>])){1}){1}){1}){1}" "13/1/2001"
1592"(^|\s|\()((([1-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-]((2[0-9]){1}|(3[01]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:])|(^|\s|\()((([0-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-](([11-31]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:|$|\>])){1}){1}){1}){1}" "1-32-2001"
1593"(^|\s|\()((([1-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-]((2[0-9]){1}|(3[01]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:])|(^|\s|\()((([0-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-](([11-31]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:|$|\>])){1}){1}){1}){1}" "1-1-1801"
1594"^\d{3}\s?\d{3}$" G "<0>400 099</0>"
1595"^\d{3}\s?\d{3}$" G "<0>400099</0>"
1596"^\d{3}\s?\d{3}$" G "<0>400050</0>"
1597"^\d{3}\s?\d{3}$" "2345678"
1598"^\d{3}\s?\d{3}$" "12345"
1599"^\d{3}\s?\d{3}$" "asdf"
1600"^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$" G "<0>(111) 222-3333</0>"
1601"^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$" G "<0>1112223333</0>"
1602"^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$" G "<0>111-222-3333</0>"
1603"^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$" "11122223333"
1604"^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$" "11112223333"
1605"^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$" "11122233333"
1606"^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" G "<0>#00ccff</0>"
1607"^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" G "<0>#039</0>"
1608"^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" G "<0>ffffcc</0>"
1609"^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" "blue"
1610"^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" "0x000000"
1611"^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" "#ff000"
1612"^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$" G "<0>01:23:45:67:89:ab</0>"
1613"^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$" G "<0>01:23:45:67:89:AB</0>"
1614"^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$" G "<0>fE:dC:bA:98:76:54</0>"
1615"^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$" "01:23:45:67:89:ab:cd"
1616"^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$" "01:23:45:67:89:Az"
1617"^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$" "01:23:45:56:"
1618"^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+\&%\$#\=~])*$" G "<0>http://www.blah.com/~joe</0>"
1619"^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+\&%\$#\=~])*$" G "<0>ftp://ftp.blah.co.uk:2828/blah%20blah.gif</0>"
1620"^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+\&%\$#\=~])*$" G "<0>https://blah.gov/blah-blah.as</0>"
1621"^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+\&%\$#\=~])*$" "www.blah.com"
1622"^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+\&%\$#\=~])*$" "http://www.blah.com/I have spaces!"
1623"^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+\&%\$#\=~])*$" "ftp://blah_underscore/[nope]"
1624"^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2})$|^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2}\s([0-1]\d|[2][0-3])\:[0-5]\d\:[0-5]\d)$" G "<0>12/01/2002</0>"
1625"^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2})$|^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2}\s([0-1]\d|[2][0-3])\:[0-5]\d\:[0-5]\d)$" G "<0>12/01/2002 12:32:10</0>"
1626"^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2})$|^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2}\s([0-1]\d|[2][0-3])\:[0-5]\d\:[0-5]\d)$" "32/12/2002"
1627"^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2})$|^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2}\s([0-1]\d|[2][0-3])\:[0-5]\d\:[0-5]\d)$" "12/13/2001"
1628"^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2})$|^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[2][0]\d{2}\s([0-1]\d|[2][0-3])\:[0-5]\d\:[0-5]\d)$" "12/02/06"
1629"^[0-9](\.[0-9]+)?$" G "<0>1.2345</0>"
1630"^[0-9](\.[0-9]+)?$" G "<0>0.00001</0>"
1631"^[0-9](\.[0-9]+)?$" G "<0>7</0>"
1632"^[0-9](\.[0-9]+)?$" "12.2"
1633"^[0-9](\.[0-9]+)?$" "1.10.1"
1634"^[0-9](\.[0-9]+)?$" "15.98"
1635"^(?:[mM]{1,3})?(?:(?:[cC][dDmM])|(?:[dD]?(?:[cC]{1,3})?))?[lL]?(([xX])(?:\2{1,2}|[lL]|[cC])?)?((([iI])((\5{1,2})|[vV]|[xX]|[lL])?)|([vV]?([iI]{1,3})?))?$" G "<0>III</0>"
1636"^(?:[mM]{1,3})?(?:(?:[cC][dDmM])|(?:[dD]?(?:[cC]{1,3})?))?[lL]?(([xX])(?:\2{1,2}|[lL]|[cC])?)?((([iI])((\5{1,2})|[vV]|[xX]|[lL])?)|([vV]?([iI]{1,3})?))?$" G "<0>xiv</0>"
1637"^(?:[mM]{1,3})?(?:(?:[cC][dDmM])|(?:[dD]?(?:[cC]{1,3})?))?[lL]?(([xX])(?:\2{1,2}|[lL]|[cC])?)?((([iI])((\5{1,2})|[vV]|[xX]|[lL])?)|([vV]?([iI]{1,3})?))?$" G "<0>MCMLXLIX</0>"
1638"^(?:[mM]{1,3})?(?:(?:[cC][dDmM])|(?:[dD]?(?:[cC]{1,3})?))?[lL]?(([xX])(?:\2{1,2}|[lL]|[cC])?)?((([iI])((\5{1,2})|[vV]|[xX]|[lL])?)|([vV]?([iI]{1,3})?))?$" "iiV"
1639"^(?:[mM]{1,3})?(?:(?:[cC][dDmM])|(?:[dD]?(?:[cC]{1,3})?))?[lL]?(([xX])(?:\2{1,2}|[lL]|[cC])?)?((([iI])((\5{1,2})|[vV]|[xX]|[lL])?)|([vV]?([iI]{1,3})?))?$" "MCCM"
1640"^(?:[mM]{1,3})?(?:(?:[cC][dDmM])|(?:[dD]?(?:[cC]{1,3})?))?[lL]?(([xX])(?:\2{1,2}|[lL]|[cC])?)?((([iI])((\5{1,2})|[vV]|[xX]|[lL])?)|([vV]?([iI]{1,3})?))?$" "XXXX"
1641"^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$" G "<0>123</0>"
1642"^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$" G "<0>-123.35</0>"
1643"^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$" G "<0>-123.35e-2</0>"
1644"^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$" "abc"
1645"^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$" "123.32e"
1646"^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$" "123.32.3"
1647"^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$" G "<0>T.F. Johnson</0>"
1648"^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$" G "<0>John O'Neil</0>"
1649"^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$" G "<0>Mary-Kate Johnson</0>"
1650"^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$" "sam_johnson"
1651"^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$" "Joe--Bob Jones"
1652"^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$" "dfjsd0rd"
1653"^(20|21|22|23|[0-1]\d)[0-5]\d$" G "<0>1200</0>"
1654"^(20|21|22|23|[0-1]\d)[0-5]\d$" G "<0>1645</0>"
1655"^(20|21|22|23|[0-1]\d)[0-5]\d$" G "<0>2359</0>"
1656"^(20|21|22|23|[0-1]\d)[0-5]\d$" "2400"
1657"^(20|21|22|23|[0-1]\d)[0-5]\d$" "asbc"
1658"^(20|21|22|23|[0-1]\d)[0-5]\d$" "12:45"
1659/<[^>]*\n?.*=("|')?(.*\.jpg)("|')?.*\n?[^<]*>/ G '<0><td background="../img/img.jpg" ></0>'
1660/<[^>]*\n?.*=("|')?(.*\.jpg)("|')?.*\n?[^<]*>/ G "<0><img src=img.jpg ></0>"
1661/<[^>]*\n?.*=("|')?(.*\.jpg)("|')?.*\n?[^<]*>/ G "<0><img src='img.jpg'></0>"
1662/<[^>]*\n?.*=("|')?(.*\.jpg)("|')?.*\n?[^<]*>/ "= img.jpg"
1663/<[^>]*\n?.*=("|')?(.*\.jpg)("|')?.*\n?[^<]*>/ "img.jpg"
1664"^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$" G "<0>78754</0>"
1665"^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$" G "<0>78754-1234</0>"
1666"^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$" G "<0>G3H 6A3</0>"
1667"^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$" "78754-12aA"
1668"^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$" "7875A"
1669"^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$" "g3h6a3"
1670#"^([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))$" G "<0>bob@somewhere.com</0>" # TODO: \w in pattern
1671#"^([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))$" G "<0>bob.jones@[1.1.1.1]</0 # TODO: \w in pattern>"
1672#"^([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))$" G "<0>bob@a.b.c.d.info</0>" # TODO: \w in pattern
1673#"^([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))$" "bob@com" # TODO: \w in pattern
1674#"^([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))$" "bob.jones@some.where" # TODO: \w in pattern
1675#"^([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))$" "bob@1.1.1.123" # TODO: \w in pattern
1676#"^(([-\w \.]+)|(""[-\w \.]+"") )?<([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))>$" G "<0><ab@cd.ef></0>" # TODO: \w in pattern
1677#"^(([-\w \.]+)|(""[-\w \.]+"") )?<([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))>$" G "<0>bob A. jones <ab@cd.ef></0>" # TODO: \w in pattern
1678#"^(([-\w \.]+)|(""[-\w \.]+"") )?<([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))>$" G "<0>bob A. jones <ab@[1.1.1.111]></0>" # TODO: \w in pattern
1679#"^(([-\w \.]+)|(""[-\w \.]+"") )?<([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))>$" "ab@cd.ef" # TODO: \w in pattern
1680#"^(([-\w \.]+)|(""[-\w \.]+"") )?<([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))>$" ""bob A. jones <ab@cd.ef>" # TODO: \w in pattern
1681#"^(([-\w \.]+)|(""[-\w \.]+"") )?<([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))>$" "bob A. jones <ab@1.1.1.111>" # TODO: \w in pattern
1682"^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$" G "<0>SW112LE</0>"
1683"^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$" G "<0>SW11 2LE</0>"
1684"^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$" G "<0>CR05LE</0>"
1685"^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$" "12CR0LE"
1686"^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$" "12CR 0LE"
1687"^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$" "SWLE05"
1688"20\d{2}(-|\/)((0[1-9])|(1[0-2]))(-|\/)((0[1-9])|([1-2][0-9])|(3[0-1]))(T|\s)(([0-1][0-9])|(2[0-3])):([0-5][0-9]):([0-5][0-9])" G "<0>2099-12-31T23:59:59</0>"
1689"20\d{2}(-|\/)((0[1-9])|(1[0-2]))(-|\/)((0[1-9])|([1-2][0-9])|(3[0-1]))(T|\s)(([0-1][0-9])|(2[0-3])):([0-5][0-9]):([0-5][0-9])" G "<0>2002/02/09 16:30:00</0>"
1690"20\d{2}(-|\/)((0[1-9])|(1[0-2]))(-|\/)((0[1-9])|([1-2][0-9])|(3[0-1]))(T|\s)(([0-1][0-9])|(2[0-3])):([0-5][0-9]):([0-5][0-9])" G "<0>2000-01-01T00:00:00</0>"
1691"20\d{2}(-|\/)((0[1-9])|(1[0-2]))(-|\/)((0[1-9])|([1-2][0-9])|(3[0-1]))(T|\s)(([0-1][0-9])|(2[0-3])):([0-5][0-9]):([0-5][0-9])" "2000-13-31T00:00:00"
1692"20\d{2}(-|\/)((0[1-9])|(1[0-2]))(-|\/)((0[1-9])|([1-2][0-9])|(3[0-1]))(T|\s)(([0-1][0-9])|(2[0-3])):([0-5][0-9]):([0-5][0-9])" "2002/02/33 24:00:00"
1693"20\d{2}(-|\/)((0[1-9])|(1[0-2]))(-|\/)((0[1-9])|([1-2][0-9])|(3[0-1]))(T|\s)(([0-1][0-9])|(2[0-3])):([0-5][0-9]):([0-5][0-9])" "2000-01-01 60:00:00"
1694"^((?:4\d{3})|(?:5[1-5]\d{2})|(?:6011)|(?:3[68]\d{2})|(?:30[012345]\d))[ -]?(\d{4})[ -]?(\d{4})[ -]?(\d{4}|3[4,7]\d{13})$" G "<0>6011567812345678</0>"
1695"^((?:4\d{3})|(?:5[1-5]\d{2})|(?:6011)|(?:3[68]\d{2})|(?:30[012345]\d))[ -]?(\d{4})[ -]?(\d{4})[ -]?(\d{4}|3[4,7]\d{13})$" G "<0>6011 5678 1234 5678</0>"
1696"^((?:4\d{3})|(?:5[1-5]\d{2})|(?:6011)|(?:3[68]\d{2})|(?:30[012345]\d))[ -]?(\d{4})[ -]?(\d{4})[ -]?(\d{4}|3[4,7]\d{13})$" G "<0>6011-5678-1234-5678</0>"
1697"^((?:4\d{3})|(?:5[1-5]\d{2})|(?:6011)|(?:3[68]\d{2})|(?:30[012345]\d))[ -]?(\d{4})[ -]?(\d{4})[ -]?(\d{4}|3[4,7]\d{13})$" "1234567890123456"
1698"^((((0[13578])|(1[02]))[\/]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\/]?(([0-2][0-9])|(30)))|(02[\/]?[0-2][0-9]))[\/]?\d{4}$" G "<0>01/01/2001</0>"
1699"^((((0[13578])|(1[02]))[\/]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\/]?(([0-2][0-9])|(30)))|(02[\/]?[0-2][0-9]))[\/]?\d{4}$" G "<0>02/29/2002</0>"
1700"^((((0[13578])|(1[02]))[\/]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\/]?(([0-2][0-9])|(30)))|(02[\/]?[0-2][0-9]))[\/]?\d{4}$" G "<0>12/31/2002</0>"
1701"^((((0[13578])|(1[02]))[\/]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\/]?(([0-2][0-9])|(30)))|(02[\/]?[0-2][0-9]))[\/]?\d{4}$" "1/1/02"
1702"^((((0[13578])|(1[02]))[\/]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\/]?(([0-2][0-9])|(30)))|(02[\/]?[0-2][0-9]))[\/]?\d{4}$" "02/30/2002"
1703"^((((0[13578])|(1[02]))[\/]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\/]?(([0-2][0-9])|(30)))|(02[\/]?[0-2][0-9]))[\/]?\d{4}$" "1/25/2002"
1704#"^(?=[^\&])(?:(?<scheme>[^:/?#]+):)?(?://(?<authority>[^/?#]*))?(?<path>[^?#]*)(?:\?(?<query>[^#]*))?(?:#(?<fragment>.*))?" G "<0>http://regexlib.com/REDetails.aspx?regexp_id=x#Details</0>" # out of context, can't work stand-alone
1705#"^(?=[^\&])(?:(?<scheme>[^:/?#]+):)?(?://(?<authority>[^/?#]*))?(?<path>[^?#]*)(?:\?(?<query>[^#]*))?(?:#(?<fragment>.*))?" "&" # out of context, can't work stand-alone
1706"^[-+]?\d+(\.\d+)?$" G "<0>123</0>"
1707"^[-+]?\d+(\.\d+)?$" G "<0>-123.45</0>"
1708"^[-+]?\d+(\.\d+)?$" G "<0>+123.56</0>"
1709"^[-+]?\d+(\.\d+)?$" "123x"
1710"^[-+]?\d+(\.\d+)?$" ".123"
1711"^[-+]?\d+(\.\d+)?$" "-123."
1712"^(\d{4}[- ]){3}\d{4}|\d{16}$" G "<0>1234-1234-1234-1234</0>"
1713"^(\d{4}[- ]){3}\d{4}|\d{16}$" G "<0>1234 1234 1234 1234</0>"
1714"^(\d{4}[- ]){3}\d{4}|\d{16}$" G "<0>1234123412341234</0>"
1715"^(\d{4}[- ]){3}\d{4}|\d{16}$" "Visa"
1716"^(\d{4}[- ]){3}\d{4}|\d{16}$" "1234"
1717"^(\d{4}[- ]){3}\d{4}|\d{16}$" "123-1234-12345"
1718"^((4\d{3})|(5[1-5]\d{2})|(6011))-?\d{4}-?\d{4}-?\d{4}|3[4,7]\d{13}$" G "<0>6011-1111-1111-1111</0>"
1719"^((4\d{3})|(5[1-5]\d{2})|(6011))-?\d{4}-?\d{4}-?\d{4}|3[4,7]\d{13}$" G "<0>5423-1111-1111-1111</0>"
1720"^((4\d{3})|(5[1-5]\d{2})|(6011))-?\d{4}-?\d{4}-?\d{4}|3[4,7]\d{13}$" G "<0>341111111111111</0>"
1721"^((4\d{3})|(5[1-5]\d{2})|(6011))-?\d{4}-?\d{4}-?\d{4}|3[4,7]\d{13}$" "4111-111-111-111"
1722"^((4\d{3})|(5[1-5]\d{2})|(6011))-?\d{4}-?\d{4}-?\d{4}|3[4,7]\d{13}$" "3411-1111-1111-111"
1723"^((4\d{3})|(5[1-5]\d{2})|(6011))-?\d{4}-?\d{4}-?\d{4}|3[4,7]\d{13}$" "Visa"
1724"^[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}$" G "<0>4D28C5AD-6482-41CD-B84E-4573F384BB5C</0>"
1725"^[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}$" G "<0>B1E1282C-A35C-4D5A-BF8B-7A3A51D9E388</0>"
1726"^[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}$" G "91036A4A-A0F4-43F0-8CD"
1727"^[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}$" "{B1E1282C-A35C-4D3A-BF8B-7A3A51D9E388}"
1728"^[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}$" "AAAAAAAAAAAAAAAAA"
1729"^[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}$" "B;E1282C-A35C-4D3A-BF8B-7A3A51D9E38"
1730"(^(4|5)\d{3}-?\d{4}-?\d{4}-?\d{4}|(4|5)\d{15})|(^(6011)-?\d{4}-?\d{4}-?\d{4}|(6011)-?\d{12})|(^((3\d{3}))-\d{6}-\d{5}|^((3\d{14})))" G "<0>4111-1234-1234-1234</0>"
1731"(^(4|5)\d{3}-?\d{4}-?\d{4}-?\d{4}|(4|5)\d{15})|(^(6011)-?\d{4}-?\d{4}-?\d{4}|(6011)-?\d{12})|(^((3\d{3}))-\d{6}-\d{5}|^((3\d{14})))" G "<0>6011123412341234</0>"
1732"(^(4|5)\d{3}-?\d{4}-?\d{4}-?\d{4}|(4|5)\d{15})|(^(6011)-?\d{4}-?\d{4}-?\d{4}|(6011)-?\d{12})|(^((3\d{3}))-\d{6}-\d{5}|^((3\d{14})))" G "<0>3711-123456-12345</0>"
1733"(^(4|5)\d{3}-?\d{4}-?\d{4}-?\d{4}|(4|5)\d{15})|(^(6011)-?\d{4}-?\d{4}-?\d{4}|(6011)-?\d{12})|(^((3\d{3}))-\d{6}-\d{5}|^((3\d{14})))" "1234567890123456"
1734"(^(4|5)\d{3}-?\d{4}-?\d{4}-?\d{4}|(4|5)\d{15})|(^(6011)-?\d{4}-?\d{4}-?\d{4}|(6011)-?\d{12})|(^((3\d{3}))-\d{6}-\d{5}|^((3\d{14})))" "4111-123-1234-1234"
1735"(^(4|5)\d{3}-?\d{4}-?\d{4}-?\d{4}|(4|5)\d{15})|(^(6011)-?\d{4}-?\d{4}-?\d{4}|(6011)-?\d{12})|(^((3\d{3}))-\d{6}-\d{5}|^((3\d{14})))" "412-1234-1234-1234"
1736#'\[link="(?<link>((.|\n)*?))"\](?<text>((.|\n)*?))\[\/link\]' G '<0>[link="http://www.yahoo.com"]Yahoo[/link]</0>' #named capture
1737#'\[link="(?<link>((.|\n)*?))"\](?<text>((.|\n)*?))\[\/link\]' "[link]http://www.yahoo.com[/link]" #named capture
1738#'\[link="(?<link>((.|\n)*?))"\](?<text>((.|\n)*?))\[\/link\]' "[link=http://www.yahoo.com]Yahoo[/link]" #named capture
1739"^[a-zA-Z0-9]+$" G "<0>10a</0>"
1740"^[a-zA-Z0-9]+$" G "<0>ABC</0>"
1741"^[a-zA-Z0-9]+$" G "<0>A3fg</0>"
1742"^[a-zA-Z0-9]+$" "45.3"
1743"^[a-zA-Z0-9]+$" "this or that"
1744"^[a-zA-Z0-9]+$" "$23"
1745"((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}" G "<0>(123) 456-7890</0>"
1746"((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}" G "<0>123-456-7890</0>"
1747"((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}" "1234567890"
1748"^[a-zA-Z]\w{3,14}$" G "<0>abcd</0>"
1749"^[a-zA-Z]\w{3,14}$" G "<0>aBc45DSD_sdf</0>"
1750"^[a-zA-Z]\w{3,14}$" G "<0>password</0>"
1751"^[a-zA-Z]\w{3,14}$" "afv"
1752"^[a-zA-Z]\w{3,14}$" "1234"
1753"^[a-zA-Z]\w{3,14}$" "reallylongpassword"
1754"^[A-Z]{1,2}[1-9][0-9]?[A-Z]? [0-9][A-Z]{2,}|GIR 0AA$" G "<0>G1 1AA </0>"
1755"^[A-Z]{1,2}[1-9][0-9]?[A-Z]? [0-9][A-Z]{2,}|GIR 0AA$" G "<0>GIR 0AA</0>"
1756"^[A-Z]{1,2}[1-9][0-9]?[A-Z]? [0-9][A-Z]{2,}|GIR 0AA$" G "<0>SW1 1ZZ</0>"
1757"^[A-Z]{1,2}[1-9][0-9]?[A-Z]? [0-9][A-Z]{2,}|GIR 0AA$" "BT01 3RT"
1758"^[A-Z]{1,2}[1-9][0-9]?[A-Z]? [0-9][A-Z]{2,}|GIR 0AA$" "G111 1AA"
1759"^0[23489]{1}(\-)?[^0\D]{1}\d{6}$" G "<0>03-6106666</0>"
1760"^0[23489]{1}(\-)?[^0\D]{1}\d{6}$" G "<0>036106666</0>"
1761"^0[23489]{1}(\-)?[^0\D]{1}\d{6}$" G "<0>02-5523344</0>"
1762"^0[23489]{1}(\-)?[^0\D]{1}\d{6}$" "00-6106666"
1763"^0[23489]{1}(\-)?[^0\D]{1}\d{6}$" "03-0106666"
1764"^0[23489]{1}(\-)?[^0\D]{1}\d{6}$" "02-55812346"
1765"^0(5[012345678]|6[47]){1}(\-)?[^0\D]{1}\d{5}$" G "<0>050-346634</0>"
1766"^0(5[012345678]|6[47]){1}(\-)?[^0\D]{1}\d{5}$" G "<0>058633633</0>"
1767"^0(5[012345678]|6[47]){1}(\-)?[^0\D]{1}\d{5}$" G "<0>064-228226</0>"
1768"^0(5[012345678]|6[47]){1}(\-)?[^0\D]{1}\d{5}$" "059-336622"
1769"^0(5[012345678]|6[47]){1}(\-)?[^0\D]{1}\d{5}$" "064-022663"
1770"^0(5[012345678]|6[47]){1}(\-)?[^0\D]{1}\d{5}$" "0545454545"
1771"^([A-Z]{1,2}[0-9]{1,2}|[A-Z]{3}|[A-Z]{1,2}[0-9][A-Z])( |-)[0-9][A-Z]{2}" G "<0>AA11 1AA</0>"
1772"^([A-Z]{1,2}[0-9]{1,2}|[A-Z]{3}|[A-Z]{1,2}[0-9][A-Z])( |-)[0-9][A-Z]{2}" G "<0>AA1A 1AA</0>"
1773"^([A-Z]{1,2}[0-9]{1,2}|[A-Z]{3}|[A-Z]{1,2}[0-9][A-Z])( |-)[0-9][A-Z]{2}" G "<0>A11-1AA</0>"
1774"^([A-Z]{1,2}[0-9]{1,2}|[A-Z]{3}|[A-Z]{1,2}[0-9][A-Z])( |-)[0-9][A-Z]{2}" "111 AAA"
1775"^([A-Z]{1,2}[0-9]{1,2}|[A-Z]{3}|[A-Z]{1,2}[0-9][A-Z])( |-)[0-9][A-Z]{2}" "1AAA 1AA"
1776"^([A-Z]{1,2}[0-9]{1,2}|[A-Z]{3}|[A-Z]{1,2}[0-9][A-Z])( |-)[0-9][A-Z]{2}" "A1AA 1AA"
1777"@{2}((\S)+)@{2}" G "<0>@@test@@</0>"
1778"@{2}((\S)+)@{2}" G "<0>@@name@@</0>"
1779"@{2}((\S)+)@{2}" G "<0>@@2342@@</0>"
1780"@{2}((\S)+)@{2}" "@test@"
1781"@{2}((\S)+)@{2}" "@@na me@@"
1782"@{2}((\S)+)@{2}" "@@ name@@"
1783"([0-1][0-9]|2[0-3]):[0-5][0-9]" G "<0>00:00</0>"
1784"([0-1][0-9]|2[0-3]):[0-5][0-9]" G "<0>13:59</0>"
1785"([0-1][0-9]|2[0-3]):[0-5][0-9]" G "<0>23:59</0>"
1786"([0-1][0-9]|2[0-3]):[0-5][0-9]" "24:00"
1787"([0-1][0-9]|2[0-3]):[0-5][0-9]" "23:60"
1788"^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$" G "<0>23</0>"
1789"^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$" G "<0>-17.e23</0>"
1790"^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$" G "<0>+.23e+2</0>"
1791"^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$" "+.e2"
1792"^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$" "23.17.5"
1793"^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$" "10e2.0"
1794"^([1-zA-Z0-1@.\s ]{1,255})$" G "<0>email@email.com</0>"
1795"^([1-zA-Z0-1@.\s ]{1,255})$" G "<0>My Name</0>"
1796"^([1-zA-Z0-1@.\s ]{1,255})$" G "<0>asdf12df</0>"
1797"^([1-zA-Z0-1@.\s ]{1,255})$" "‘,\*&$<>"
1798"^([1-zA-Z0-1@.\s ]{1,255})$" "1001' string"
1799"^((0[1-9])|(1[0-2]))\/(\d{4})$" G "<0>12/2002</0>"
1800"^((0[1-9])|(1[0-2]))\/(\d{4})$" G "<0>11/1900</0>"
1801"^((0[1-9])|(1[0-2]))\/(\d{4})$" G "<0>02/1977</0>"
1802"^((0[1-9])|(1[0-2]))\/(\d{4})$" "1/1977"
1803"^((0[1-9])|(1[0-2]))\/(\d{4})$" "00/000"
1804"^((0[1-9])|(1[0-2]))\/(\d{4})$" "15/2002"
1805"^\(\d{1,2}(\s\d{1,2}){1,2}\)\s(\d{1,2}(\s\d{1,2}){1,2})((-(\d{1,4})){0,1})$" G "<0>(0 34 56) 34 56 67</0>"
1806"^\(\d{1,2}(\s\d{1,2}){1,2}\)\s(\d{1,2}(\s\d{1,2}){1,2})((-(\d{1,4})){0,1})$" G "<0>(03 45) 5 67 67</0>"
1807"^\(\d{1,2}(\s\d{1,2}){1,2}\)\s(\d{1,2}(\s\d{1,2}){1,2})((-(\d{1,4})){0,1})$" G "<0>(0 45) 2 33 45-45</0>"
1808"^\(\d{1,2}(\s\d{1,2}){1,2}\)\s(\d{1,2}(\s\d{1,2}){1,2})((-(\d{1,4})){0,1})$" "(2345) 34 34"
1809"^\(\d{1,2}(\s\d{1,2}){1,2}\)\s(\d{1,2}(\s\d{1,2}){1,2})((-(\d{1,4})){0,1})$" "(0 56) 456 456"
1810"^\(\d{1,2}(\s\d{1,2}){1,2}\)\s(\d{1,2}(\s\d{1,2}){1,2})((-(\d{1,4})){0,1})$" "(3 45) 2 34-45678"
1811"(?:\d|I{1,3})?\s?\w{2,}\.?\s*\d{1,}\:\d{1,}-?,?\d{0,2}(?:,\d{0,2}){0,2}" G "<0>Genesis 3:3-4,6</0>"
1812"(?:\d|I{1,3})?\s?\w{2,}\.?\s*\d{1,}\:\d{1,}-?,?\d{0,2}(?:,\d{0,2}){0,2}" G "<0>II Sam 2:11,2</0>"
1813"(?:\d|I{1,3})?\s?\w{2,}\.?\s*\d{1,}\:\d{1,}-?,?\d{0,2}(?:,\d{0,2}){0,2}" G "<0>2 Tim 3:16</0>"
1814"(?:\d|I{1,3})?\s?\w{2,}\.?\s*\d{1,}\:\d{1,}-?,?\d{0,2}(?:,\d{0,2}){0,2}" "Genesis chap 3, verse 3"
1815"(?:\d|I{1,3})?\s?\w{2,}\.?\s*\d{1,}\:\d{1,}-?,?\d{0,2}(?:,\d{0,2}){0,2}" "2nd Samuel 2"
1816"(\[[Ii][Mm][Gg]\])(\S+?)(\[\/[Ii][Mm][Gg]\])" G "<0>[IMG]http://bleh.jpg[/IMG]</0>"
1817"(\[[Ii][Mm][Gg]\])(\S+?)(\[\/[Ii][Mm][Gg]\])" G "<0>[ImG]bleh[/imG]</0>"
1818"(\[[Ii][Mm][Gg]\])(\S+?)(\[\/[Ii][Mm][Gg]\])" G "<0>[img]ftp://login:pass@bleh.gif[/img]</0>"
1819"(\[[Ii][Mm][Gg]\])(\S+?)(\[\/[Ii][Mm][Gg]\])" '<img src="bleh.jpg">'
1820"^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$" G "<0>10/03/1979</0>"
1821"^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$" G "<0>1-1-02</0>"
1822"^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$" G "<0>01.1.2003</0>"
1823"^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$" "10/03/197"
1824"^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$" "01-02-003"
1825"^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$" "01 02 03"
1826#"^(?(^00000(|-0000))|(\d{5}(|-\d{4})))$" G "<0>12345</0>" # No Conditionals?
1827#"^(?(^00000(|-0000))|(\d{5}(|-\d{4})))$" G "<0>12345-6789</0>" # No Conditionals?
1828#"^(?(^00000(|-0000))|(\d{5}(|-\d{4})))$" "00000" # No Conditionals?
1829#"^(?(^00000(|-0000))|(\d{5}(|-\d{4})))$" "00000-0000" # No Conditionals?
1830#"^(?(^00000(|-0000))|(\d{5}(|-\d{4})))$" "a4650-465s" # No Conditionals?
1831"^((0?[1-9])|((1|2)[0-9])|30|31)$" G "<0>01</0>"
1832"^((0?[1-9])|((1|2)[0-9])|30|31)$" G "<0>12</0>"
1833"^((0?[1-9])|((1|2)[0-9])|30|31)$" G "<0>31</0>"
1834"^((0?[1-9])|((1|2)[0-9])|30|31)$" "123"
1835"^((0?[1-9])|((1|2)[0-9])|30|31)$" "32"
1836"^((0?[1-9])|((1|2)[0-9])|30|31)$" "abc"
1837"^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?(\d{3}([\s\-./\\])?\d{4}|[a-zA-Z0-9]{7})$" G "<0>1.222.333.1234</0>"
1838"^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?(\d{3}([\s\-./\\])?\d{4}|[a-zA-Z0-9]{7})$" G "<0>1-223-123-1232</0>"
1839"^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?(\d{3}([\s\-./\\])?\d{4}|[a-zA-Z0-9]{7})$" G "<0>12223334444</0>"
1840"^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?(\d{3}([\s\-./\\])?\d{4}|[a-zA-Z0-9]{7})$" "1.1.123123.123"
1841"^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?(\d{3}([\s\-./\\])?\d{4}|[a-zA-Z0-9]{7})$" "12-1322-112-31"
1842"^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?(\d{3}([\s\-./\\])?\d{4}|[a-zA-Z0-9]{7})$" "11231321131"
1843"^([A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}|GIR 0AA)$" G "<0>DN3 6GB</0>"
1844"^([A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}|GIR 0AA)$" G "<0>SW42 4RG</0>"
1845"^([A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}|GIR 0AA)$" G "<0>GIR 0AA</0>"
1846"^([A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}|GIR 0AA)$" "SEW4 5TY"
1847"^([A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}|GIR 0AA)$" "AA2C 4FG"
1848"^([A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}|GIR 0AA)$" "AA2 4CV"
1849"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$" G "<0>asD1</0>"
1850"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$" G "<0>asDF1234</0>"
1851"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$" G "<0>ASPgo123</0>"
1852"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$" "asdf"
1853"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$" "1234"
1854"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$" "ASDF12345"
1855"^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?([0-9]{3}([\s\-./\\])?[0-9]{4}|[a-zA-Z0-9]{7}|([0-9]{3}[-][a-zA-Z0-9]{4}))" G "<0>1.222.333.1234</0>"
1856"^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?([0-9]{3}([\s\-./\\])?[0-9]{4}|[a-zA-Z0-9]{7}|([0-9]{3}[-][a-zA-Z0-9]{4}))" G "<0>1-223-123-1232</0>"
1857"^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?([0-9]{3}([\s\-./\\])?[0-9]{4}|[a-zA-Z0-9]{7}|([0-9]{3}[-][a-zA-Z0-9]{4}))" G "<0>1-888-425-DELL</0>"
1858"^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?([0-9]{3}([\s\-./\\])?[0-9]{4}|[a-zA-Z0-9]{7}|([0-9]{3}[-][a-zA-Z0-9]{4}))" "1.1.123123.123"
1859"^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?([0-9]{3}([\s\-./\\])?[0-9]{4}|[a-zA-Z0-9]{7}|([0-9]{3}[-][a-zA-Z0-9]{4}))" "12-1322-112-31"
1860"^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?([0-9]{3}([\s\-./\\])?[0-9]{4}|[a-zA-Z0-9]{7}|([0-9]{3}[-][a-zA-Z0-9]{4}))" "1-800-CALL-DEL"
1861"^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$" G "<0>09:00</0>"
1862"^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$" G "<0>9:00</0>"
1863"^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$" G "<0>11:35</0>"
1864"^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$" "13:00"
1865"^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$" "9.00"
1866"^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$" "6:60"
1867"^([1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$" G "<0>1</0>"
1868"^([1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$" G "<0>108</0>"
1869"^([1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$" G "<0>255</0>"
1870"^([1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$" "01"
1871"^([1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$" "256"
1872"^((((0[13578])|([13578])|(1[02]))[\/](([1-9])|([0-2][0-9])|(3[01])))|(((0[469])|([469])|(11))[\/](([1-9])|([0-2][0-9])|(30)))|((2|02)[\/](([1-9])|([0-2][0-9]))))[\/]\d{4}$|^\d{4}$" G "<0>01/01/2001</0>"
1873"^((((0[13578])|([13578])|(1[02]))[\/](([1-9])|([0-2][0-9])|(3[01])))|(((0[469])|([469])|(11))[\/](([1-9])|([0-2][0-9])|(30)))|((2|02)[\/](([1-9])|([0-2][0-9]))))[\/]\d{4}$|^\d{4}$" G "<0>1/01/2001</0>"
1874"^((((0[13578])|([13578])|(1[02]))[\/](([1-9])|([0-2][0-9])|(3[01])))|(((0[469])|([469])|(11))[\/](([1-9])|([0-2][0-9])|(30)))|((2|02)[\/](([1-9])|([0-2][0-9]))))[\/]\d{4}$|^\d{4}$" G "<0>2002</0>"
1875"^((((0[13578])|([13578])|(1[02]))[\/](([1-9])|([0-2][0-9])|(3[01])))|(((0[469])|([469])|(11))[\/](([1-9])|([0-2][0-9])|(30)))|((2|02)[\/](([1-9])|([0-2][0-9]))))[\/]\d{4}$|^\d{4}$" "2/30/2002"
1876"^((((0[13578])|([13578])|(1[02]))[\/](([1-9])|([0-2][0-9])|(3[01])))|(((0[469])|([469])|(11))[\/](([1-9])|([0-2][0-9])|(30)))|((2|02)[\/](([1-9])|([0-2][0-9]))))[\/]\d{4}$|^\d{4}$" "13/23/2002"
1877"^((((0[13578])|([13578])|(1[02]))[\/](([1-9])|([0-2][0-9])|(3[01])))|(((0[469])|([469])|(11))[\/](([1-9])|([0-2][0-9])|(30)))|((2|02)[\/](([1-9])|([0-2][0-9]))))[\/]\d{4}$|^\d{4}$" "12345"
1878"^[A-Za-z]{2}[0-9]{6}[A-Za-z]{1}$" G "<0>SP939393H</0>"
1879"^[A-Za-z]{2}[0-9]{6}[A-Za-z]{1}$" G "<0>PX123456D</0>"
1880"^[A-Za-z]{2}[0-9]{6}[A-Za-z]{1}$" G "<0>SW355667G</0>"
1881"^[A-Za-z]{2}[0-9]{6}[A-Za-z]{1}$" "12SP9393H"
1882"^[A-Za-z]{2}[0-9]{6}[A-Za-z]{1}$" "S3P93930D"
1883"^[A-Za-z]{2}[0-9]{6}[A-Za-z]{1}$" "11223344SP00ddSS"
1884"(^0[78][2347][0-9]{7})" G "<0>0834128458</0>"
1885"(^0[78][2347][0-9]{7})" G "<0>0749526308</0>"
1886"(^0[78][2347][0-9]{7})" "0861212308"
1887"(^0[78][2347][0-9]{7})" "0892549851"
1888"^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$" G "<0>C1406HHA</0>"
1889"^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$" G "<0>A4126AAB</0>"
1890"^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$" G "<0>c1406hha</0>"
1891"^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$" "c1406HHA"
1892"^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$" "4126"
1893"^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$" "C1406hha"
1894"^(((25[0-5]|2[0-4][0-9]|19[0-1]|19[3-9]|18[0-9]|17[0-1]|17[3-9]|1[0-6][0-9]|1[1-9]|[2-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9]))|(192\.(25[0-5]|2[0-4][0-9]|16[0-7]|169|1[0-5][0-9]|1[7-9][0-9]|[1-9][0-9]|[0-9]))|(172\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|1[0-5]|3[2-9]|[4-9][0-9]|[0-9])))\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$" G "<0>66.129.71.120</0>"
1895"^(((25[0-5]|2[0-4][0-9]|19[0-1]|19[3-9]|18[0-9]|17[0-1]|17[3-9]|1[0-6][0-9]|1[1-9]|[2-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9]))|(192\.(25[0-5]|2[0-4][0-9]|16[0-7]|169|1[0-5][0-9]|1[7-9][0-9]|[1-9][0-9]|[0-9]))|(172\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|1[0-5]|3[2-9]|[4-9][0-9]|[0-9])))\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$" G "<0>207.46.230.218</0>"
1896"^(((25[0-5]|2[0-4][0-9]|19[0-1]|19[3-9]|18[0-9]|17[0-1]|17[3-9]|1[0-6][0-9]|1[1-9]|[2-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9]))|(192\.(25[0-5]|2[0-4][0-9]|16[0-7]|169|1[0-5][0-9]|1[7-9][0-9]|[1-9][0-9]|[0-9]))|(172\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|1[0-5]|3[2-9]|[4-9][0-9]|[0-9])))\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$" G "<0>64.58.76.225</0>"
1897"^(((25[0-5]|2[0-4][0-9]|19[0-1]|19[3-9]|18[0-9]|17[0-1]|17[3-9]|1[0-6][0-9]|1[1-9]|[2-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9]))|(192\.(25[0-5]|2[0-4][0-9]|16[0-7]|169|1[0-5][0-9]|1[7-9][0-9]|[1-9][0-9]|[0-9]))|(172\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|1[0-5]|3[2-9]|[4-9][0-9]|[0-9])))\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$" "10.0.5.4"
1898"^(((25[0-5]|2[0-4][0-9]|19[0-1]|19[3-9]|18[0-9]|17[0-1]|17[3-9]|1[0-6][0-9]|1[1-9]|[2-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9]))|(192\.(25[0-5]|2[0-4][0-9]|16[0-7]|169|1[0-5][0-9]|1[7-9][0-9]|[1-9][0-9]|[0-9]))|(172\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|1[0-5]|3[2-9]|[4-9][0-9]|[0-9])))\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$" "192.168.0.1"
1899"^(((25[0-5]|2[0-4][0-9]|19[0-1]|19[3-9]|18[0-9]|17[0-1]|17[3-9]|1[0-6][0-9]|1[1-9]|[2-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9]))|(192\.(25[0-5]|2[0-4][0-9]|16[0-7]|169|1[0-5][0-9]|1[7-9][0-9]|[1-9][0-9]|[0-9]))|(172\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|1[0-5]|3[2-9]|[4-9][0-9]|[0-9])))\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$" "my ip address"
1900"^([\w\d\-\.]+)@{1}(([\w\d\-]{1,67})|([\w\d\-]+\.[\w\d\-]{1,67}))\.(([a-zA-Z\d]{2,4})(\.[a-zA-Z\d]{2})?)$" G "<0>foo@foo.com</0>"
1901"^([\w\d\-\.]+)@{1}(([\w\d\-]{1,67})|([\w\d\-]+\.[\w\d\-]{1,67}))\.(([a-zA-Z\d]{2,4})(\.[a-zA-Z\d]{2})?)$" G "<0>foo@foo-foo.com.au</0>"
1902"^([\w\d\-\.]+)@{1}(([\w\d\-]{1,67})|([\w\d\-]+\.[\w\d\-]{1,67}))\.(([a-zA-Z\d]{2,4})(\.[a-zA-Z\d]{2})?)$" G "<0>foo@foo.foo.info</0>"
1903"^([\w\d\-\.]+)@{1}(([\w\d\-]{1,67})|([\w\d\-]+\.[\w\d\-]{1,67}))\.(([a-zA-Z\d]{2,4})(\.[a-zA-Z\d]{2})?)$" "foo@.com"
1904"^([\w\d\-\.]+)@{1}(([\w\d\-]{1,67})|([\w\d\-]+\.[\w\d\-]{1,67}))\.(([a-zA-Z\d]{2,4})(\.[a-zA-Z\d]{2})?)$" "foo@foo..com"
1905"^([\w\d\-\.]+)@{1}(([\w\d\-]{1,67})|([\w\d\-]+\.[\w\d\-]{1,67}))\.(([a-zA-Z\d]{2,4})(\.[a-zA-Z\d]{2})?)$" "foo@me@.com"
1906"/\*[\d\D]*?\*/" G "<0>/* my comment */</0>"
1907"/\*[\d\D]*?\*/" G "<0>/* my multiline comment */</0>"
1908"/\*[\d\D]*?\*/" G "<0>/* my nested comment */</0>"
1909"/\*[\d\D]*?\*/" "*/ anything here /*"
1910"/\*[\d\D]*?\*/" "anything between 2 seperate comments"
1911"/\*[\d\D]*?\*/" "\* *\"
1912"/\*[\p{N}\P{N}]*?\*/" G "<0>/* my comment */</0>"
1913"/\*[\p{N}\P{N}]*?\*/" G "<0>/* my multiline comment */</0>"
1914"/\*[\p{N}\P{N}]*?\*/" G "<0>/* my nested comment */</0>"
1915"/\*[\p{N}\P{N}]*?\*/" "*/ anything here /*"
1916"/\*[\p{N}\P{N}]*?\*/" "anything between 2 seperate comments"
1917"/\*[\p{N}\P{N}]*?\*/" "\* *\"
1918"((0?[13578]|10|12)(-|\/)((0[0-9])|([12])([0-9]?)|(3[01]?))(-|\/)((\d{4})|(\d{2}))|(0?[2469]|11)(-|\/)((0[0-9])|([12])([0-9]?)|(3[0]?))(-|\/)((\d{4}|\d{2})))" G "<0>1/31/2002</0>"
1919"((0?[13578]|10|12)(-|\/)((0[0-9])|([12])([0-9]?)|(3[01]?))(-|\/)((\d{4})|(\d{2}))|(0?[2469]|11)(-|\/)((0[0-9])|([12])([0-9]?)|(3[0]?))(-|\/)((\d{4}|\d{2})))" G "<0>04-30-02</0>"
1920"((0?[13578]|10|12)(-|\/)((0[0-9])|([12])([0-9]?)|(3[01]?))(-|\/)((\d{4})|(\d{2}))|(0?[2469]|11)(-|\/)((0[0-9])|([12])([0-9]?)|(3[0]?))(-|\/)((\d{4}|\d{2})))" G "<0>12-01/2002</0>"
1921"((0?[13578]|10|12)(-|\/)((0[0-9])|([12])([0-9]?)|(3[01]?))(-|\/)((\d{4})|(\d{2}))|(0?[2469]|11)(-|\/)((0[0-9])|([12])([0-9]?)|(3[0]?))(-|\/)((\d{4}|\d{2})))" "2/31/2002"
1922"((0?[13578]|10|12)(-|\/)((0[0-9])|([12])([0-9]?)|(3[01]?))(-|\/)((\d{4})|(\d{2}))|(0?[2469]|11)(-|\/)((0[0-9])|([12])([0-9]?)|(3[0]?))(-|\/)((\d{4}|\d{2})))" "13/0/02"
1923"((0?[13578]|10|12)(-|\/)((0[0-9])|([12])([0-9]?)|(3[01]?))(-|\/)((\d{4})|(\d{2}))|(0?[2469]|11)(-|\/)((0[0-9])|([12])([0-9]?)|(3[0]?))(-|\/)((\d{4}|\d{2})))" "Jan 1, 2001"
1924'^(([^<>;()\[\]\\.,;:@"]+(\.[^<>()\[\]\\.,;:@"]+)*)|(".+"))@((([a-z]([-a-z0-9]*[a-z0-9])?)|(#[0-9]+)|(\[((([01]?[0-9]{0,2})|(2(([0-4][0-9])|(5[0-5]))))\.){3}(([01]?[0-9]{0,2})|(2(([0-4][0-9])|(5[0-5]))))\]))\.)*(([a-z]([-a-z0-9]*[a-z0-9])?)|(#[0-9]+)|(\[((([01]?[0-9]{0,2})|(2(([0-4][0-9])|(5[0-5]))))\.){3}(([01]?[0-9]{0,2})|(2(([0-4][0-9])|(5[0-5]))))\]))$' G "<0>blah@[10.0.0.1]</0>"
1925'^(([^<>;()\[\]\\.,;:@"]+(\.[^<>()\[\]\\.,;:@"]+)*)|(".+"))@((([a-z]([-a-z0-9]*[a-z0-9])?)|(#[0-9]+)|(\[((([01]?[0-9]{0,2})|(2(([0-4][0-9])|(5[0-5]))))\.){3}(([01]?[0-9]{0,2})|(2(([0-4][0-9])|(5[0-5]))))\]))\.)*(([a-z]([-a-z0-9]*[a-z0-9])?)|(#[0-9]+)|(\[((([01]?[0-9]{0,2})|(2(([0-4][0-9])|(5[0-5]))))\.){3}(([01]?[0-9]{0,2})|(2(([0-4][0-9])|(5[0-5]))))\]))$' G "<0>a@b.c</0>"
1926'^(([^<>;()\[\]\\.,;:@"]+(\.[^<>()\[\]\\.,;:@"]+)*)|(".+"))@((([a-z]([-a-z0-9]*[a-z0-9])?)|(#[0-9]+)|(\[((([01]?[0-9]{0,2})|(2(([0-4][0-9])|(5[0-5]))))\.){3}(([01]?[0-9]{0,2})|(2(([0-4][0-9])|(5[0-5]))))\]))\.)*(([a-z]([-a-z0-9]*[a-z0-9])?)|(#[0-9]+)|(\[((([01]?[0-9]{0,2})|(2(([0-4][0-9])|(5[0-5]))))\.){3}(([01]?[0-9]{0,2})|(2(([0-4][0-9])|(5[0-5]))))\]))$' "non@match@."
1927"^\d{9}[\d|X]$" G "<0>1234123412</0>"
1928"^\d{9}[\d|X]$" G "<0>123412341X</0>"
1929"^\d{9}[\d|X]$" "not an isbn"
1930"^\d{9}(\d|X)$" G "<0>1234123412</0>"
1931"^\d{9}(\d|X)$" G "<0>123412341X</0>"
1932"^\d{9}(\d|X)$" "not an isbn"
1933"^(([1-9])|(0[1-9])|(1[0-2]))\/(([0-9])|([0-2][0-9])|(3[0-1]))\/(([0-9][0-9])|([1-2][0,9][0-9][0-9]))$" G "<0>01/01/2001</0>"
1934"^(([1-9])|(0[1-9])|(1[0-2]))\/(([0-9])|([0-2][0-9])|(3[0-1]))\/(([0-9][0-9])|([1-2][0,9][0-9][0-9]))$" G "<0>1/1/1999</0>"
1935"^(([1-9])|(0[1-9])|(1[0-2]))\/(([0-9])|([0-2][0-9])|(3[0-1]))\/(([0-9][0-9])|([1-2][0,9][0-9][0-9]))$" G "<0>10/20/2080</0>"
1936"^(([1-9])|(0[1-9])|(1[0-2]))\/(([0-9])|([0-2][0-9])|(3[0-1]))\/(([0-9][0-9])|([1-2][0,9][0-9][0-9]))$" "13/01/2001"
1937"^(([1-9])|(0[1-9])|(1[0-2]))\/(([0-9])|([0-2][0-9])|(3[0-1]))\/(([0-9][0-9])|([1-2][0,9][0-9][0-9]))$" "1/1/1800"
1938"^(([1-9])|(0[1-9])|(1[0-2]))\/(([0-9])|([0-2][0-9])|(3[0-1]))\/(([0-9][0-9])|([1-2][0,9][0-9][0-9]))$" "10/32/2080"
1939"^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$" G "<0>0.25</0>"
1940"^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$" G "<0>.75</0>"
1941"^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$" G "<0>123.50</0>"
1942"^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$" ".77"
1943"^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$" "1.435"
1944"^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$" G "<0>12345</0>"
1945"^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$" G "<0>932 68</0>"
1946"^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$" G "<0>S-621 46</0>"
1947"^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$" "5367"
1948"^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$" "425611"
1949"^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$" "31 545"
1950"^\d{5}(-\d{4})?$" G "<0>48222</0>"
1951"^\d{5}(-\d{4})?$" G "<0>48222-1746</0>"
1952"^\d{5}(-\d{4})?$" "4632"
1953"^\d{5}(-\d{4})?$" "Blake"
1954"^\d{5}(-\d{4})?$" "37333-32"
1955'^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$' G "<0>test.txt</0>"
1956'^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$' G "<0>test.jpg.txt</0>"
1957'^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$' G "<0>a&b c.bmp</0>"
1958'^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$' "CON"
1959'^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$' ".pdf"
1960'^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$' "test:2.pdf"
1961"^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" G "<0>1'235.140</0>"
1962"^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" G "<0>1'222'333.120</0>"
1963"^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" G "<0>456</0>"
1964"^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" "1234.500"
1965"^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" "78'45.123"
1966"^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" "123,0012"
1967"^[a-zA-Z][0-9][a-zA-Z]\s?[0-9][a-zA-Z][0-9]$" G "<0>T2p 3c7</0>"
1968"^[a-zA-Z][0-9][a-zA-Z]\s?[0-9][a-zA-Z][0-9]$" G "<0>T3P3c7</0>"
1969"^[a-zA-Z][0-9][a-zA-Z]\s?[0-9][a-zA-Z][0-9]$" G "<0>T2P 3C7</0>"
1970"^[a-zA-Z][0-9][a-zA-Z]\s?[0-9][a-zA-Z][0-9]$" "123456"
1971"^[a-zA-Z][0-9][a-zA-Z]\s?[0-9][a-zA-Z][0-9]$" "3C7T2P"
1972"^[a-zA-Z][0-9][a-zA-Z]\s?[0-9][a-zA-Z][0-9]$" "11T21RWW"
1973"^\$[0-9]+(\.[0-9][0-9])?$" G "<0>$1.50</0>"
1974"^\$[0-9]+(\.[0-9][0-9])?$" G "<0>$49</0>"
1975"^\$[0-9]+(\.[0-9][0-9])?$" G "<0>$0.50</0>"
1976"^\$[0-9]+(\.[0-9][0-9])?$" "1.5"
1977"^\$[0-9]+(\.[0-9][0-9])?$" "$1.333"
1978"^\$[0-9]+(\.[0-9][0-9])?$" "this $5.12 fails"
1979"\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\.){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\b" G "<0>217.6.9.89</0>"
1980"\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\.){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\b" G "<0>0.0.0.0</0>"
1981"\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\.){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\b" G "<0>255.255.255.255</0>"
1982"\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\.){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\b" "256.0.0.0"
1983"\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\.){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\b" "0978.3.3.3"
1984"\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\.){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\b" "65.4t.54.3"
1985"((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+)" G "<0>http://www.aspemporium.com</0>"
1986"((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+)" G "<0>mailto:dominionx@hotmail.com</0>"
1987"((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+)" G "<0>ftp://ftp.test.com</0>"
1988"((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+)" "www.aspemporium.com"
1989"((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+)" "dominionx@hotmail.com"
1990"((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+)" "bloggs"
1991"\(([0-9]{2}|0{1}((x|[0-9]){2}[0-9]{2}))\)\s*[0-9]{3,4}[- ]*[0-9]{4}" G "<0>(12) 123 1234</0>"
1992"\(([0-9]{2}|0{1}((x|[0-9]){2}[0-9]{2}))\)\s*[0-9]{3,4}[- ]*[0-9]{4}" G "<0>(01512) 123 1234</0>"
1993"\(([0-9]{2}|0{1}((x|[0-9]){2}[0-9]{2}))\)\s*[0-9]{3,4}[- ]*[0-9]{4}" G "<0>(0xx12) 1234 1234</0>"
1994"\(([0-9]{2}|0{1}((x|[0-9]){2}[0-9]{2}))\)\s*[0-9]{3,4}[- ]*[0-9]{4}" "12 123 1234"
1995"\(([0-9]{2}|0{1}((x|[0-9]){2}[0-9]{2}))\)\s*[0-9]{3,4}[- ]*[0-9]{4}" "(012) 123/1234"
1996"\(([0-9]{2}|0{1}((x|[0-9]){2}[0-9]{2}))\)\s*[0-9]{3,4}[- ]*[0-9]{4}" "(012) 123 12345"
1997"^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" G "<0>bob-smith@foo.com</0>"
1998"^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" G "<0>bob.smith@foo.com</0>"
1999"^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" G "<0>bob_smith@foo.com</0>"
2000"^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" "-smith@foo.com"
2001"^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" ".smith@foo.com"
2002"^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" "smith@foo_com"
2003"^(?=.*\d).{4,8}$" G "<0>1234</0>"
2004"^(?=.*\d).{4,8}$" G "<0>asdf1234</0>"
2005"^(?=.*\d).{4,8}$" G "<0>asp123</0>"
2006"^(?=.*\d).{4,8}$" "asdf"
2007"^(?=.*\d).{4,8}$" "asdf12345"
2008"^(?=.*\d).{4,8}$" "password"
2009"[^A-Za-z0-9_@\.]|@{2,}|\.{5,}" G "<0>user name</0>"
2010"[^A-Za-z0-9_@\.]|@{2,}|\.{5,}" G "<0>user#name</0>"
2011"[^A-Za-z0-9_@\.]|@{2,}|\.{5,}" G "<0>.....</0>"
2012"[^A-Za-z0-9_@\.]|@{2,}|\.{5,}" "User_Name1"
2013"[^A-Za-z0-9_@\.]|@{2,}|\.{5,}" "username@foo.com"
2014"[^A-Za-z0-9_@\.]|@{2,}|\.{5,}" "user.name@mail.foo.com"
2015"^100$|^[0-9]{1,2}$|^[0-9]{1,2}\,[0-9]{1,3}$" G "<0>12,654</0>"
2016"^100$|^[0-9]{1,2}$|^[0-9]{1,2}\,[0-9]{1,3}$" G "<0>1,987</0>"
2017"^100$|^[0-9]{1,2}$|^[0-9]{1,2}\,[0-9]{1,3}$" "128,2"
2018"^100$|^[0-9]{1,2}$|^[0-9]{1,2}\,[0-9]{1,3}$" "12,"
2019"^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+\&%\$#\=~])*[^\.\,\)\(\s]$" G "<0>https://www.restrictd.com/~myhome/</0>"
2020"^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+\&%\$#\=~])*[^\.\,\)\(\s]$" "http://www.krumedia.com."
2021"^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+\&%\$#\=~])*[^\.\,\)\(\s]$" "(http://www.krumedia.com)"
2022"^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+\&%\$#\=~])*[^\.\,\)\(\s]$" "http://www.krumedia.com,"
2023"(\d{1,3},(\d{3},)*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" G "<0>2&651.50</0>"
2024"(\d{1,3},(\d{3},)*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" G "<0>987.895</0>"
2025"(\d{1,3},(\d{3},)*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" "25$%787*"
2026"\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$" G "<0>$1,456,983.00</0>"
2027"\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$" G "<0>$1,700.07</0>"
2028"\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$" G "<0>$68,944.23</0>"
2029"\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$" "$20,86.93"
2030"\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$" "$1098.84"
2031"\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$" "$150."
2032"\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9])?$" G "<0>$28,009,987.88</0>"
2033"\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9])?$" G "<0>$23,099.05</0>"
2034"\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9])?$" G "<0>$.88</0>"
2035"\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9])?$" "$234,5.99"
2036"^((((31\/(0?[13578]|1[02]))|((29|30)\/(0?[1,3-9]|1[0-2])))\/(1[6-9]|[2-9]\d)?\d{2})|(29\/0?2\/(((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))|(0?[1-9]|1\d|2[0-8])\/((0?[1-9])|(1[0-2]))\/((1[6-9]|[2-9]\d)?\d{2})) (20|21|22|23|[0-1]?\d):[0-5]?\d:[0-5]?\d$" G "<0>29/02/2004 20:15:27</0>"
2037"^((((31\/(0?[13578]|1[02]))|((29|30)\/(0?[1,3-9]|1[0-2])))\/(1[6-9]|[2-9]\d)?\d{2})|(29\/0?2\/(((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))|(0?[1-9]|1\d|2[0-8])\/((0?[1-9])|(1[0-2]))\/((1[6-9]|[2-9]\d)?\d{2})) (20|21|22|23|[0-1]?\d):[0-5]?\d:[0-5]?\d$" G "<0>29/2/04 8:9:5</0>"
2038"^((((31\/(0?[13578]|1[02]))|((29|30)\/(0?[1,3-9]|1[0-2])))\/(1[6-9]|[2-9]\d)?\d{2})|(29\/0?2\/(((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))|(0?[1-9]|1\d|2[0-8])\/((0?[1-9])|(1[0-2]))\/((1[6-9]|[2-9]\d)?\d{2})) (20|21|22|23|[0-1]?\d):[0-5]?\d:[0-5]?\d$" G "<0>31/3/2004 9:20:17</0>"
2039"^((((31\/(0?[13578]|1[02]))|((29|30)\/(0?[1,3-9]|1[0-2])))\/(1[6-9]|[2-9]\d)?\d{2})|(29\/0?2\/(((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))|(0?[1-9]|1\d|2[0-8])\/((0?[1-9])|(1[0-2]))\/((1[6-9]|[2-9]\d)?\d{2})) (20|21|22|23|[0-1]?\d):[0-5]?\d:[0-5]?\d$" "29/02/2003 20:15:15"
2040"^((((31\/(0?[13578]|1[02]))|((29|30)\/(0?[1,3-9]|1[0-2])))\/(1[6-9]|[2-9]\d)?\d{2})|(29\/0?2\/(((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))|(0?[1-9]|1\d|2[0-8])\/((0?[1-9])|(1[0-2]))\/((1[6-9]|[2-9]\d)?\d{2})) (20|21|22|23|[0-1]?\d):[0-5]?\d:[0-5]?\d$" "2/29/04 20:15:15"
2041"^((((31\/(0?[13578]|1[02]))|((29|30)\/(0?[1,3-9]|1[0-2])))\/(1[6-9]|[2-9]\d)?\d{2})|(29\/0?2\/(((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))|(0?[1-9]|1\d|2[0-8])\/((0?[1-9])|(1[0-2]))\/((1[6-9]|[2-9]\d)?\d{2})) (20|21|22|23|[0-1]?\d):[0-5]?\d:[0-5]?\d$" "31/3/4 9:20:17"
2042"^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$" G "<0>somthing@someserver.com</0>"
2043"^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$" G "<0>firstname.lastname@mailserver.domain.com</0>"
2044"^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$" G "<0>username-something@some-server.nl</0>"
2045"^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$" "username@someserver.domain.c"
2046"^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$" "somename@server.domain-com"
2047"^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$" "someone@something.se_eo"
2048"(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])(\s{0,1})(AM|PM|am|pm|aM|Am|pM|Pm{2,2})$)|(^([0-9]|[1][0-9]|[2][0-3])(\s{0,1})(AM|PM|am|pm|aM|Am|pM|Pm{2,2})$)" G "<0>8am</0>"
2049"(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])(\s{0,1})(AM|PM|am|pm|aM|Am|pM|Pm{2,2})$)|(^([0-9]|[1][0-9]|[2][0-3])(\s{0,1})(AM|PM|am|pm|aM|Am|pM|Pm{2,2})$)" G "<0>8 am</0>"
2050"(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])(\s{0,1})(AM|PM|am|pm|aM|Am|pM|Pm{2,2})$)|(^([0-9]|[1][0-9]|[2][0-3])(\s{0,1})(AM|PM|am|pm|aM|Am|pM|Pm{2,2})$)" G "<0>8:00 am</0>"
2051"(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])(\s{0,1})(AM|PM|am|pm|aM|Am|pM|Pm{2,2})$)|(^([0-9]|[1][0-9]|[2][0-3])(\s{0,1})(AM|PM|am|pm|aM|Am|pM|Pm{2,2})$)" "8a"
2052"(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])(\s{0,1})(AM|PM|am|pm|aM|Am|pM|Pm{2,2})$)|(^([0-9]|[1][0-9]|[2][0-3])(\s{0,1})(AM|PM|am|pm|aM|Am|pM|Pm{2,2})$)" "8 a"
2053"(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])(\s{0,1})(AM|PM|am|pm|aM|Am|pM|Pm{2,2})$)|(^([0-9]|[1][0-9]|[2][0-3])(\s{0,1})(AM|PM|am|pm|aM|Am|pM|Pm{2,2})$)" "8:00 a"
2054"^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$" G "<0>55(21)123-4567</0>"
2055"^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$" G "<0>(11)1234-5678</0>"
2056"^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$" G "<0>55(71)4562-2234</0>"
2057"^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$" "3434-3432"
2058"^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$" "4(23)232-3232"
2059"^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$" "55(2)232-232"
2060"^((([0]?[1-9]|1[0-2])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?))$" G "<0>1:01 AM</0>"
2061"^((([0]?[1-9]|1[0-2])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?))$" G "<0>23:52:01</0>"
2062"^((([0]?[1-9]|1[0-2])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?))$" G "<0>03.24.36 AM</0>"
2063"^((([0]?[1-9]|1[0-2])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?))$" "19:31 AM"
2064"^((([0]?[1-9]|1[0-2])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?))$" "9:9 PM"
2065"^((([0]?[1-9]|1[0-2])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?))$" "25:60:61"
2066"^\d{0,2}(\.\d{1,2})?$" G "<0>99.99</0>"
2067"^\d{0,2}(\.\d{1,2})?$" G "<0>99</0>"
2068"^\d{0,2}(\.\d{1,2})?$" G "<0>.99</0>"
2069"^\d{0,2}(\.\d{1,2})?$" "999.999"
2070"^\d{0,2}(\.\d{1,2})?$" "999"
2071"^\d{0,2}(\.\d{1,2})?$" ".999"
2072"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{4,8}$" G "<0>1agdA*$#</0>"
2073"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{4,8}$" G "<0>1agdA*$#</0>"
2074"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{4,8}$" G "<0>1agdA*$#</0>"
2075"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{4,8}$" "wyrn%@*&$# f"
2076"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{4,8}$" "mbndkfh782"
2077"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{4,8}$" "BNfhjdhfjd&*)%#$)"
2078"^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\.)+([a-zA-Z0-9]{3,5})$" G "<0>freshmeat.net</0>"
2079"^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\.)+([a-zA-Z0-9]{3,5})$" G "<0>123.com</0>"
2080"^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\.)+([a-zA-Z0-9]{3,5})$" G "<0>TempLate-toolkKt.orG</0>"
2081"^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\.)+([a-zA-Z0-9]{3,5})$" "-dog.com"
2082"^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\.)+([a-zA-Z0-9]{3,5})$" "?boy.net"
2083"^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\.)+([a-zA-Z0-9]{3,5})$" "this.domain"
2084"^[^']*$" G "<0>asljas</0>"
2085"^[^']*$" G "<0>%/&89uhuhadjkh</0>"
2086"^[^']*$" G '<0>"hi there!"</0>'
2087"^[^']*$" "'hi there!'"
2088"^[^']*$" "It's 9 o'clock"
2089"^[^']*$" "'''''"
2090"(^\(\)$|^\(((\([0-9]+,(\((\([0-9]+,[0-9]+,[0-9]+\),)*(\([0-9]+,[0-9]+,[0-9]+\)){1}\))+\),)*(\([0-9]+,(\((\([0-9]+,[0-9]+,[0-9]+\),)*(\([0-9]+,[0-9]+,[0-9]+\)){1}\))+\)){1}\)))$" G "<0>((24,((1,2,3),(3,4,5))))</0>"
2091"(^\(\)$|^\(((\([0-9]+,(\((\([0-9]+,[0-9]+,[0-9]+\),)*(\([0-9]+,[0-9]+,[0-9]+\)){1}\))+\),)*(\([0-9]+,(\((\([0-9]+,[0-9]+,[0-9]+\),)*(\([0-9]+,[0-9]+,[0-9]+\)){1}\))+\)){1}\)))$" G "<0>((1,((2,3,4),(4,5,6),(96,34,26))),(12,((1,3,4),(4,5,6),(7,8,9))))</0>"
2092"(^\(\)$|^\(((\([0-9]+,(\((\([0-9]+,[0-9]+,[0-9]+\),)*(\([0-9]+,[0-9]+,[0-9]+\)){1}\))+\),)*(\([0-9]+,(\((\([0-9]+,[0-9]+,[0-9]+\),)*(\([0-9]+,[0-9]+,[0-9]+\)){1}\))+\)){1}\)))$" G "<0>()</0>"
2093"(^\(\)$|^\(((\([0-9]+,(\((\([0-9]+,[0-9]+,[0-9]+\),)*(\([0-9]+,[0-9]+,[0-9]+\)){1}\))+\),)*(\([0-9]+,(\((\([0-9]+,[0-9]+,[0-9]+\),)*(\([0-9]+,[0-9]+,[0-9]+\)){1}\))+\)){1}\)))$" "(24,((1,2,3),(3,4,5)))"
2094"(^\(\)$|^\(((\([0-9]+,(\((\([0-9]+,[0-9]+,[0-9]+\),)*(\([0-9]+,[0-9]+,[0-9]+\)){1}\))+\),)*(\([0-9]+,(\((\([0-9]+,[0-9]+,[0-9]+\),)*(\([0-9]+,[0-9]+,[0-9]+\)){1}\))+\)){1}\)))$" "( )"
2095"(^\(\)$|^\(((\([0-9]+,(\((\([0-9]+,[0-9]+,[0-9]+\),)*(\([0-9]+,[0-9]+,[0-9]+\)){1}\))+\),)*(\([0-9]+,(\((\([0-9]+,[0-9]+,[0-9]+\),)*(\([0-9]+,[0-9]+,[0-9]+\)){1}\))+\)){1}\)))$" "((23,(12,3,4),(4,5,6)))"
2096"^[a-zA-Z0-9\s .\-_']+$" G "<0>dony d'gsa</0>"
2097"^[a-zA-Z0-9\s .\-_']+$" "^[a-zA-Z0-9\s.\-_']+$"
2098"^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.(([0-9]{1,3})|([a-zA-Z]{2,3})|(aero|coop|info|museum|name))$" G "<0>example@example.com</0>"
2099"^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.(([0-9]{1,3})|([a-zA-Z]{2,3})|(aero|coop|info|museum|name))$" G "<0>foo@bar.info</0>"
2100"^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.(([0-9]{1,3})|([a-zA-Z]{2,3})|(aero|coop|info|museum|name))$" G "<0>blah@127.0.0.1</0>"
2101"^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.(([0-9]{1,3})|([a-zA-Z]{2,3})|(aero|coop|info|museum|name))$" "broken@@example.com"
2102"^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.(([0-9]{1,3})|([a-zA-Z]{2,3})|(aero|coop|info|museum|name))$" "foo@bar.infp"
2103"^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.(([0-9]{1,3})|([a-zA-Z]{2,3})|(aero|coop|info|museum|name))$" "blah@.nospam.biz"
2104"^\d{5}(-\d{3})?$" G "<0>13165-000</0>"
2105"^\d{5}(-\d{3})?$" G "<0>38175-000</0>"
2106"^\d{5}(-\d{3})?$" G "<0>81470-276</0>"
2107"^\d{5}(-\d{3})?$" "13165-00"
2108"^\d{5}(-\d{3})?$" "38175-abc"
2109"^\d{5}(-\d{3})?$" "81470-2763"
2110"^\$(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$" G "<0>$0.84</0>"
2111"^\$(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$" G "<0>$123458</0>"
2112"^\$(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$" G "<0>$1,234,567.89</0>"
2113"^\$(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$" "$12,3456.01"
2114"^\$(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$" "12345"
2115"^\$(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$" "$1.234"
2116"([A-Z]:\\[^/:\*\?<>\|]+\.\w{2,6})|(\\{2}[^/:\*\?<>\|]+\.\w{2,6})" G "<0>C:\\temp\\this allows spaces\\web.config</0>"
2117"([A-Z]:\\[^/:\*\?<>\|]+\.\w{2,6})|(\\{2}[^/:\*\?<>\|]+\.\w{2,6})" G "<0>\\\\Andromeda\\share\\file name.123</0>"
2118"([A-Z]:\\[^/:\*\?<>\|]+\.\w{2,6})|(\\{2}[^/:\*\?<>\|]+\.\w{2,6})" "tz:\temp\ fi*le?na:m<e>.doc"
2119"([A-Z]:\\[^/:\*\?<>\|]+\.\w{2,6})|(\\{2}[^/:\*\?<>\|]+\.\w{2,6})" "\\Andromeda\share\filename.a"
2120"(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])$)|(^([0-9]|[1][0-9]|[2][0-3])$)" G "<0>10:35</0>"
2121"(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])$)|(^([0-9]|[1][0-9]|[2][0-3])$)" G "<0>9:20</0>"
2122"(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])$)|(^([0-9]|[1][0-9]|[2][0-3])$)" G "<0>23</0>"
2123"(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])$)|(^([0-9]|[1][0-9]|[2][0-3])$)" "24:00"
2124"(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])$)|(^([0-9]|[1][0-9]|[2][0-3])$)" "20 PM"
2125"(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])$)|(^([0-9]|[1][0-9]|[2][0-3])$)" "20:15 PM"
2126"^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$" G "<0>$3,023,123.34</0>"
2127"^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$" G "<0>9,876,453</0>"
2128"^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$" G "<0>123456.78</0>"
2129"^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$" "4,33,234.34"
2130"^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$" "$1.234"
2131"^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$" "abc"
2132"^\$?\d+(\.(\d{2}))?$" G "<0>$2.43</0>"
2133"^\$?\d+(\.(\d{2}))?$" G "<0>2.02</0>"
2134"^\$?\d+(\.(\d{2}))?$" G "<0>$2112</0>"
2135"^\$?\d+(\.(\d{2}))?$" "2.1"
2136"^\$?\d+(\.(\d{2}))?$" "$.14"
2137"^\$?\d+(\.(\d{2}))?$" "$2,222.12"
2138/("[^"]*")|('[^\r]*)(\r\n)?/ G '<0>"my string"</0>'
2139/("[^"]*")|('[^\r]*)(\r\n)?/ G '<0>"a string with \u0027 in it"</0>'
2140/("[^"]*")|('[^\r]*)(\r\n)?/ G "<0>' comment</0>"
2141/("[^"]*")|('[^\r]*)(\r\n)?/ /asd "/
2142"^[A-Za-z0-9]{8}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{12}$" G "<0>BFDB4D31-3E35-4DAB-AFCA-5E6E5C8F61EA</0>"
2143"^[A-Za-z0-9]{8}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{12}$" G "<0>BFDB4d31-3e35-4dab-afca-5e6e5c8f61ea</0>"
2144"^[A-Za-z0-9]{8}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{12}$" "qqqBFDB4D31-3E35-4DAB-AFCA-5E6E5C8F61EA"
2145"^[A-Za-z0-9]{8}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{12}$" "BFDB4D31-3E-4DAB-AFCA-5E6E5C8F61EA"
2146"^[A-Za-z0-9]{8}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{12}$" "BFDB4D31-3E35-4DAB-AF"
2147"^\d{2}(\x2e)(\d{3})(-\d{3})?$" G "<0>12.345-678</0>"
2148"^\d{2}(\x2e)(\d{3})(-\d{3})?$" G "<0>23.345-123</0>"
2149"^\d{2}(\x2e)(\d{3})(-\d{3})?$" G "<0>99.999</0>"
2150"^\d{2}(\x2e)(\d{3})(-\d{3})?$" "41222-222"
2151"^\d{2}(\x2e)(\d{3})(-\d{3})?$" "3.444-233"
2152"^\d{2}(\x2e)(\d{3})(-\d{3})?$" "43.324444"
2153"^\d{2}(\u002e)(\d{3})(-\d{3})?$" G "<0>12.345-678</0>"
2154"^\d{2}(\u002e)(\d{3})(-\d{3})?$" G "<0>23.345-123</0>"
2155"^\d{2}(\u002e)(\d{3})(-\d{3})?$" G "<0>99.999</0>"
2156"^\d{2}(\u002e)(\d{3})(-\d{3})?$" "41222-222"
2157"^\d{2}(\u002e)(\d{3})(-\d{3})?$" "3.444-233"
2158"^\d{2}(\u002e)(\d{3})(-\d{3})?$" "43.324444"
2159#"^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*))+\.(txt|TXT)$" G "<0>c:\file.txt</0>" # TODO: debug
2160#"^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*))+\.(txt|TXT)$" G "<0>c:\folder\sub folder\file.txt</0>" # TODO: debug
2161#"^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*))+\.(txt|TXT)$" G "<0>\\network\folder\file.txt</0>" # TODO: debug
2162"^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*))+\.(txt|TXT)$" "C:"
2163"^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*))+\.(txt|TXT)$" "C:\file.xls"
2164"^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*))+\.(txt|TXT)$" "folder.txt"
2165"^[a-zA-Z0-9]+([a-zA-Z0-9\-\.]+)?\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" G "<0>my.domain.com</0>"
2166"^[a-zA-Z0-9]+([a-zA-Z0-9\-\.]+)?\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" G "<0>regexlib.com</0>"
2167"^[a-zA-Z0-9]+([a-zA-Z0-9\-\.]+)?\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" G "<0>big-reg.com</0>"
2168"^[a-zA-Z0-9]+([a-zA-Z0-9\-\.]+)?\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" ".mydomain.com"
2169"^[a-zA-Z0-9]+([a-zA-Z0-9\-\.]+)?\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" "regexlib.comm"
2170"^[a-zA-Z0-9]+([a-zA-Z0-9\-\.]+)?\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" "-bigreg.com"
2171"^\d{4}[\-\/\s]?((((0[13578])|(1[02]))[\-\/\s]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\-\/\s]?(([0-2][0-9])|(30)))|(02[\-\/\s]?[0-2][0-9]))$" G "<0>0001-12-31</0>"
2172"^\d{4}[\-\/\s ]?((((0[13578])|(1[02]))[\-\/\s ]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\-\/\s ]?(([0-2][0-9])|(30)))|(02[\-\/\s ]?[0-2][0-9]))$" G "<0>9999 09 30</0>"
2173"^\d{4}[\-\/\s]?((((0[13578])|(1[02]))[\-\/\s]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\-\/\s]?(([0-2][0-9])|(30)))|(02[\-\/\s]?[0-2][0-9]))$" G "<0>2002/03/03</0>"
2174"^\d{4}[\-\/\s]?((((0[13578])|(1[02]))[\-\/\s]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\-\/\s]?(([0-2][0-9])|(30)))|(02[\-\/\s]?[0-2][0-9]))$" "0001\02\30"
2175"^\d{4}[\-\/\s]?((((0[13578])|(1[02]))[\-\/\s]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\-\/\s]?(([0-2][0-9])|(30)))|(02[\-\/\s]?[0-2][0-9]))$" "9999.15.01"
2176"^\d{4}[\-\/\s]?((((0[13578])|(1[02]))[\-\/\s]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\-\/\s]?(([0-2][0-9])|(30)))|(02[\-\/\s]?[0-2][0-9]))$" "2002/3/3"
2177"^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$" G "<0>http://psychopop.org</0>"
2178"^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$" G "<0>http://www.edsroom.com/newUser.asp</0>"
2179"^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$" G "<0>http://unpleasant.jarrin.net/markov/inde</0>"
2180"^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$" "ftp://psychopop.org"
2181"^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$" "http://www.edsroom/"
2182"^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$" "http://un/pleasant.jarrin.net/markov/index.asp"
2183"^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\d$" G "<0>1145</0>"
2184"^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\d$" G "<0>933</0>"
2185"^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\d$" G "<0> 801</0>"
2186"^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\d$" "0000"
2187"^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\d$" "1330"
2188"^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\d$" "8:30"
2189"^\d{1,2}\/\d{2,4}$" G "<0>9/02</0>"
2190"^\d{1,2}\/\d{2,4}$" G "<0>09/2002</0>"
2191"^\d{1,2}\/\d{2,4}$" G "<0>09/02</0>"
2192"^\d{1,2}\/\d{2,4}$" "Fall 2002"
2193"^\d{1,2}\/\d{2,4}$" "Sept 2002"
2194"^(|(0[1-9])|(1[0-2]))\/((0[1-9])|(1\d)|(2\d)|(3[0-1]))\/((\d{4}))$" G "<0>01/01/2001</0>"
2195"^(|(0[1-9])|(1[0-2]))\/((0[1-9])|(1\d)|(2\d)|(3[0-1]))\/((\d{4}))$" G "<0>02/30/2001</0>"
2196"^(|(0[1-9])|(1[0-2]))\/((0[1-9])|(1\d)|(2\d)|(3[0-1]))\/((\d{4}))$" G "<0>12/31/2002</0>"
2197"^(|(0[1-9])|(1[0-2]))\/((0[1-9])|(1\d)|(2\d)|(3[0-1]))\/((\d{4}))$" "1/1/02"
2198"^(|(0[1-9])|(1[0-2]))\/((0[1-9])|(1\d)|(2\d)|(3[0-1]))\/((\d{4}))$" "1/1/2002"
2199"^(|(0[1-9])|(1[0-2]))\/((0[1-9])|(1\d)|(2\d)|(3[0-1]))\/((\d{4}))$" "1/25/2002"
2200"^(1?(-?\d{3})-?)?(\d{3})(-?\d{4})$" G "<0>15615552323</0>"
2201"^(1?(-?\d{3})-?)?(\d{3})(-?\d{4})$" G "<0>1-561-555-1212</0>"
2202"^(1?(-?\d{3})-?)?(\d{3})(-?\d{4})$" G "<0>5613333</0>"
2203"^(1?(-?\d{3})-?)?(\d{3})(-?\d{4})$" "1-555-5555"
2204"^(1?(-?\d{3})-?)?(\d{3})(-?\d{4})$" "15553333"
2205"^(1?(-?\d{3})-?)?(\d{3})(-?\d{4})$" "0-561-555-1212"
2206'<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>' G '<0><input type = text name = "bob"></0>'
2207'<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>' G '<0><select name = "fred"></0>'
2208#'<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>' G '<0><form></0>' #TODO: Debug
2209'<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>' "<input type = submit>" # TODO: \w in pattern
2210'<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>' '<font face = "arial">' # TODO: \w in pattern
2211'<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>' "The drity brown fox stank like"
2212"^(1|01|2|02|3|03|4|04|5|05|6|06|7|07|8|08|9|09|10|11|12{1,2}):(([0-5]{1}[0-9]{1}\s{0,1})([AM|PM|am|pm]{2,2}))\W{0}$" G "<0>1:00 AM</0>"
2213"^(1|01|2|02|3|03|4|04|5|05|6|06|7|07|8|08|9|09|10|11|12{1,2}):(([0-5]{1}[0-9]{1}\s{0,1})([AM|PM|am|pm]{2,2}))\W{0}$" G "<0>12:00 PM</0>"
2214"^(1|01|2|02|3|03|4|04|5|05|6|06|7|07|8|08|9|09|10|11|12{1,2}):(([0-5]{1}[0-9]{1}\s{0,1})([AM|PM|am|pm]{2,2}))\W{0}$" G "<0>1:00am</0>"
2215"^(1|01|2|02|3|03|4|04|5|05|6|06|7|07|8|08|9|09|10|11|12{1,2}):(([0-5]{1}[0-9]{1}\s{0,1})([AM|PM|am|pm]{2,2}))\W{0}$" "24:00"
2216"^\d*$" G "<0>123</0>"
2217"^\d*$" G "<0>000</0>"
2218"^\d*$" G "<0>43</0>"
2219"^\d*$" "asbc"
2220"^\d*$" "-34"
2221"^\d*$" "3.1415"
2222"^[-+]?\d*$" G "<0>123</0>"
2223"^[-+]?\d*$" G "<0>-123</0>"
2224"^[-+]?\d*$" G "<0>+123</0>"
2225"^[-+]?\d*$" "abc"
2226"^[-+]?\d*$" "3.14159"
2227"^[-+]?\d*$" "-3.14159"
2228"^\d*\.?\d*$" G "<0>123</0>"
2229"^\d*\.?\d*$" G "<0>3.14159</0>"
2230"^\d*\.?\d*$" G "<0>.234</0>"
2231"^\d*\.?\d*$" "abc"
2232"^\d*\.?\d*$" "-3.14159"
2233"^\d*\.?\d*$" "3.4.2"
2234"^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$" G "<0>44240</0>"
2235"^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$" G "<0>44240-5555</0>"
2236"^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$" G "<0>T2P 3C7</0>"
2237"^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$" "44240ddd"
2238"^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$" "t44240-55"
2239"^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$" "t2p3c7"
2240"^[\\(]{0,1}([0-9]){3}[\\)]{0,1}[ ]?([^0-1]){1}([0-9]){2}[ ]?[-]?[ ]?([0-9]){4}[ ]*((x){0,1}([0-9]){1,5}){0,1}$" G "<0>(910)456-7890</0>"
2241"^[\\(]{0,1}([0-9]){3}[\\)]{0,1}[ ]?([^0-1]){1}([0-9]){2}[ ]?[-]?[ ]?([0-9]){4}[ ]*((x){0,1}([0-9]){1,5}){0,1}$" G "<0>(910)456-8970 x12</0>"
2242"^[\\(]{0,1}([0-9]){3}[\\)]{0,1}[ ]?([^0-1]){1}([0-9]){2}[ ]?[-]?[ ]?([0-9]){4}[ ]*((x){0,1}([0-9]){1,5}){0,1}$" G "<0>(910)456-8970 1211</0>"
2243"^[\\(]{0,1}([0-9]){3}[\\)]{0,1}[ ]?([^0-1]){1}([0-9]){2}[ ]?[-]?[ ]?([0-9]){4}[ ]*((x){0,1}([0-9]){1,5}){0,1}$" "(910) 156-7890"
2244"^[\\(]{0,1}([0-9]){3}[\\)]{0,1}[ ]?([^0-1]){1}([0-9]){2}[ ]?[-]?[ ]?([0-9]){4}[ ]*((x){0,1}([0-9]){1,5}){0,1}$" "(910) 056-7890"
2245"^[\\(]{0,1}([0-9]){3}[\\)]{0,1}[ ]?([^0-1]){1}([0-9]){2}[ ]?[-]?[ ]?([0-9]){4}[ ]*((x){0,1}([0-9]){1,5}){0,1}$" "(910) 556-7890 x"
2246"^((0?[1-9]|[12][1-9]|3[01])\.(0?[13578]|1[02])\.20[0-9]{2}|(0?[1-9]|[12][1-9]|30)\.(0?[13456789]|1[012])\.20[0-9]{2}|(0?[1-9]|1[1-9]|2[0-8])\.(0?[123456789]|1[012])\.20[0-9]{2}|(0?[1-9]|[12][1-9])\.(0?[123456789]|1[012])\.20(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96))$" G "<0>31.01.2002</0>"
2247"^((0?[1-9]|[12][1-9]|3[01])\.(0?[13578]|1[02])\.20[0-9]{2}|(0?[1-9]|[12][1-9]|30)\.(0?[13456789]|1[012])\.20[0-9]{2}|(0?[1-9]|1[1-9]|2[0-8])\.(0?[123456789]|1[012])\.20[0-9]{2}|(0?[1-9]|[12][1-9])\.(0?[123456789]|1[012])\.20(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96))$" G "<0>29.2.2004</0>"
2248"^((0?[1-9]|[12][1-9]|3[01])\.(0?[13578]|1[02])\.20[0-9]{2}|(0?[1-9]|[12][1-9]|30)\.(0?[13456789]|1[012])\.20[0-9]{2}|(0?[1-9]|1[1-9]|2[0-8])\.(0?[123456789]|1[012])\.20[0-9]{2}|(0?[1-9]|[12][1-9])\.(0?[123456789]|1[012])\.20(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96))$" G "<0>09.02.2005</0>"
2249"^((0?[1-9]|[12][1-9]|3[01])\.(0?[13578]|1[02])\.20[0-9]{2}|(0?[1-9]|[12][1-9]|30)\.(0?[13456789]|1[012])\.20[0-9]{2}|(0?[1-9]|1[1-9]|2[0-8])\.(0?[123456789]|1[012])\.20[0-9]{2}|(0?[1-9]|[12][1-9])\.(0?[123456789]|1[012])\.20(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96))$" "31.11.2002"
2250"^((0?[1-9]|[12][1-9]|3[01])\.(0?[13578]|1[02])\.20[0-9]{2}|(0?[1-9]|[12][1-9]|30)\.(0?[13456789]|1[012])\.20[0-9]{2}|(0?[1-9]|1[1-9]|2[0-8])\.(0?[123456789]|1[012])\.20[0-9]{2}|(0?[1-9]|[12][1-9])\.(0?[123456789]|1[012])\.20(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96))$" "29.2.2002"
2251"^((0?[1-9]|[12][1-9]|3[01])\.(0?[13578]|1[02])\.20[0-9]{2}|(0?[1-9]|[12][1-9]|30)\.(0?[13456789]|1[012])\.20[0-9]{2}|(0?[1-9]|1[1-9]|2[0-8])\.(0?[123456789]|1[012])\.20[0-9]{2}|(0?[1-9]|[12][1-9])\.(0?[123456789]|1[012])\.20(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96))$" "33.06.2000"
2252"^(0[1-9]|1[0-2])\/((0[1-9]|2\d)|3[0-1])\/(19\d\d|200[0-3])$" G "<0>12/31/2003</0>"
2253"^(0[1-9]|1[0-2])\/((0[1-9]|2\d)|3[0-1])\/(19\d\d|200[0-3])$" G "<0>01/01/1900</0>"
2254"^(0[1-9]|1[0-2])\/((0[1-9]|2\d)|3[0-1])\/(19\d\d|200[0-3])$" G "<0>11/31/2002</0>"
2255"^(0[1-9]|1[0-2])\/((0[1-9]|2\d)|3[0-1])\/(19\d\d|200[0-3])$" "1/1/2002"
2256"^(0[1-9]|1[0-2])\/((0[1-9]|2\d)|3[0-1])\/(19\d\d|200[0-3])$" "01/01/02"
2257"^(0[1-9]|1[0-2])\/((0[1-9]|2\d)|3[0-1])\/(19\d\d|200[0-3])$" "01/01/2004"
2258"^((((([13578])|(1[0-2]))[\-\/\s]?(([1-9])|([1-2][0-9])|(3[01])))|((([469])|(11))[\-\/\s]?(([1-9])|([1-2][0-9])|(30)))|(2[\-\/\s]?(([1-9])|([1-2][0-9]))))[\-\/\s]?\d{4})(\s((([1-9])|(1[02]))\:([0-5][0-9])((\s)|(\:([0-5][0-9])\s))([AM|PM|am|pm]{2,2})))?$" G "<0>3/3/2003</0>"
2259"^((((([13578])|(1[0-2]))[\-\/\s]?(([1-9])|([1-2][0-9])|(3[01])))|((([469])|(11))[\-\/\s]?(([1-9])|([1-2][0-9])|(30)))|(2[\-\/\s]?(([1-9])|([1-2][0-9]))))[\-\/\s]?\d{4})(\s((([1-9])|(1[02]))\:([0-5][0-9])((\s)|(\:([0-5][0-9])\s))([AM|PM|am|pm]{2,2})))?$" G "<0>3/3/2002 3:33 pm</0>"
2260"^((((([13578])|(1[0-2]))[\-\/\s]?(([1-9])|([1-2][0-9])|(3[01])))|((([469])|(11))[\-\/\s]?(([1-9])|([1-2][0-9])|(30)))|(2[\-\/\s]?(([1-9])|([1-2][0-9]))))[\-\/\s]?\d{4})(\s((([1-9])|(1[02]))\:([0-5][0-9])((\s)|(\:([0-5][0-9])\s))([AM|PM|am|pm]{2,2})))?$" G "<0>3/3/2003 3:33:33 am</0>"
2261"^((((([13578])|(1[0-2]))[\-\/\s]?(([1-9])|([1-2][0-9])|(3[01])))|((([469])|(11))[\-\/\s]?(([1-9])|([1-2][0-9])|(30)))|(2[\-\/\s]?(([1-9])|([1-2][0-9]))))[\-\/\s]?\d{4})(\s((([1-9])|(1[02]))\:([0-5][0-9])((\s)|(\:([0-5][0-9])\s))([AM|PM|am|pm]{2,2})))?$" "13/1/2002"
2262"^((((([13578])|(1[0-2]))[\-\/\s]?(([1-9])|([1-2][0-9])|(3[01])))|((([469])|(11))[\-\/\s]?(([1-9])|([1-2][0-9])|(30)))|(2[\-\/\s]?(([1-9])|([1-2][0-9]))))[\-\/\s]?\d{4})(\s((([1-9])|(1[02]))\:([0-5][0-9])((\s)|(\:([0-5][0-9])\s))([AM|PM|am|pm]{2,2})))?$" "3/3/2002 3:33"
2263"^((((([13578])|(1[0-2]))[\-\/\s]?(([1-9])|([1-2][0-9])|(3[01])))|((([469])|(11))[\-\/\s]?(([1-9])|([1-2][0-9])|(30)))|(2[\-\/\s]?(([1-9])|([1-2][0-9]))))[\-\/\s]?\d{4})(\s((([1-9])|(1[02]))\:([0-5][0-9])((\s)|(\:([0-5][0-9])\s))([AM|PM|am|pm]{2,2})))?$" "31/3/2002"
2264"([a-zA-Z]:(\\w+)*\\[a-zA-Z0_9]+)?.xls" G "<0>E:\DyAGT\SD01A_specV2.xls</0>"
2265"([a-zA-Z]:(\\w+)*\\[a-zA-Z0_9]+)?.xls" "E:\DyAGT\SD01A_specV2.txt"
2266"(((0[13578]|10|12)([-./])(0[1-9]|[12][0-9]|3[01])([-./])(\d{4}))|((0[469]|11)([-./])([0][1-9]|[12][0-9]|30)([-./])(\d{4}))|((2)([-./])(0[1-9]|1[0-9]|2[0-8])([-./])(\d{4}))|((2)(\.|-|\/)(29)([-./])([02468][048]00))|((2)([-./])(29)([-./])([13579][26]00))|((2)([-./])(29)([-./])([0-9][0-9][0][48]))|((2)([-./])(29)([-./])([0-9][0-9][2468][048]))|((2)([-./])(29)([-./])([0-9][0-9][13579][26])))" G "<0>02/29/2084</0>"
2267"(((0[13578]|10|12)([-./])(0[1-9]|[12][0-9]|3[01])([-./])(\d{4}))|((0[469]|11)([-./])([0][1-9]|[12][0-9]|30)([-./])(\d{4}))|((2)([-./])(0[1-9]|1[0-9]|2[0-8])([-./])(\d{4}))|((2)(\.|-|\/)(29)([-./])([02468][048]00))|((2)([-./])(29)([-./])([13579][26]00))|((2)([-./])(29)([-./])([0-9][0-9][0][48]))|((2)([-./])(29)([-./])([0-9][0-9][2468][048]))|((2)([-./])(29)([-./])([0-9][0-9][13579][26])))" G "<0>01/31/2000</0>"
2268"(((0[13578]|10|12)([-./])(0[1-9]|[12][0-9]|3[01])([-./])(\d{4}))|((0[469]|11)([-./])([0][1-9]|[12][0-9]|30)([-./])(\d{4}))|((2)([-./])(0[1-9]|1[0-9]|2[0-8])([-./])(\d{4}))|((2)(\.|-|\/)(29)([-./])([02468][048]00))|((2)([-./])(29)([-./])([13579][26]00))|((2)([-./])(29)([-./])([0-9][0-9][0][48]))|((2)([-./])(29)([-./])([0-9][0-9][2468][048]))|((2)([-./])(29)([-./])([0-9][0-9][13579][26])))" G "<0>11/30/2000</0>"
2269"(((0[13578]|10|12)([-./])(0[1-9]|[12][0-9]|3[01])([-./])(\d{4}))|((0[469]|11)([-./])([0][1-9]|[12][0-9]|30)([-./])(\d{4}))|((2)([-./])(0[1-9]|1[0-9]|2[0-8])([-./])(\d{4}))|((2)(\.|-|\/)(29)([-./])([02468][048]00))|((2)([-./])(29)([-./])([13579][26]00))|((2)([-./])(29)([-./])([0-9][0-9][0][48]))|((2)([-./])(29)([-./])([0-9][0-9][2468][048]))|((2)([-./])(29)([-./])([0-9][0-9][13579][26])))" "02/29/2083"
2270"(((0[13578]|10|12)([-./])(0[1-9]|[12][0-9]|3[01])([-./])(\d{4}))|((0[469]|11)([-./])([0][1-9]|[12][0-9]|30)([-./])(\d{4}))|((2)([-./])(0[1-9]|1[0-9]|2[0-8])([-./])(\d{4}))|((2)(\.|-|\/)(29)([-./])([02468][048]00))|((2)([-./])(29)([-./])([13579][26]00))|((2)([-./])(29)([-./])([0-9][0-9][0][48]))|((2)([-./])(29)([-./])([0-9][0-9][2468][048]))|((2)([-./])(29)([-./])([0-9][0-9][13579][26])))" "11/31/2000"
2271"(((0[13578]|10|12)([-./])(0[1-9]|[12][0-9]|3[01])([-./])(\d{4}))|((0[469]|11)([-./])([0][1-9]|[12][0-9]|30)([-./])(\d{4}))|((2)([-./])(0[1-9]|1[0-9]|2[0-8])([-./])(\d{4}))|((2)(\.|-|\/)(29)([-./])([02468][048]00))|((2)([-./])(29)([-./])([13579][26]00))|((2)([-./])(29)([-./])([0-9][0-9][0][48]))|((2)([-./])(29)([-./])([0-9][0-9][2468][048]))|((2)([-./])(29)([-./])([0-9][0-9][13579][26])))" "01/32/2000"
2272"^[a-zA-Z0-9\s .\-]+$" G "<0>2222 Mock St.</0>" # TODO: \s in patterns not implemented
2273"^[a-zA-Z0-9\s .\-]+$" G "<0>1 A St.</0>"
2274"^[a-zA-Z0-9\s .\-]+$" G "<0>555-1212</0>"
2275"^[a-zA-Z0-9\s.\-]+$" "[A Street]"
2276"^[a-zA-Z0-9\s.\-]+$" "(3 A St.)"
2277"^[a-zA-Z0-9\s.\-]+$" "{34 C Ave.}"
2278"^[a-zA-Z0-9\s.\-]+$" "Last.*?(\d+.?\d*)"
2279"^[a-zA-Z0-9\s .\-]+$" G "<TR><TD ALIGN=RIGHT> </TD><TD>Last</TD><TD ALIGN=RIGHT NOW"
2280"^[a-zA-Z0-9\s.\-]+$" "[AADDSS]"
2281"^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$" G "<0>1-(123)-123-1234</0>"
2282"^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$" G "<0>123 123 1234</0>"
2283"^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$" G "<0>1-800-ALPHNUM</0>"
2284"^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$" "1.123.123.1234"
2285"^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$" "(123)-1234-123"
2286"^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$" "123-1234"
2287"^([0-1][0-9]|[2][0-3]):([0-5][0-9])$" G "<0>02:04</0>"
2288"^([0-1][0-9]|[2][0-3]):([0-5][0-9])$" G "<0>16:56</0>"
2289"^([0-1][0-9]|[2][0-3]):([0-5][0-9])$" G "<0>23:59</0>"
2290"^([0-1][0-9]|[2][0-3]):([0-5][0-9])$" "02:00 PM"
2291"^([0-1][0-9]|[2][0-3]):([0-5][0-9])$" "PM2:00"
2292"^([0-1][0-9]|[2][0-3]):([0-5][0-9])$" "24:00"
2293"^[0,1]?\d{1}\/(([0-2]?\d{1})|([3][0,1]{1}))\/(([1]{1}[9]{1}[9]{1}\d{1})|([2-9]{1}\d{3}))$" G "<0>01/01/1990</0>"
2294"^[0,1]?\d{1}\/(([0-2]?\d{1})|([3][0,1]{1}))\/(([1]{1}[9]{1}[9]{1}\d{1})|([2-9]{1}\d{3}))$" G "<0>12/12/9999</0>"
2295"^[0,1]?\d{1}\/(([0-2]?\d{1})|([3][0,1]{1}))\/(([1]{1}[9]{1}[9]{1}\d{1})|([2-9]{1}\d{3}))$" G "<0>3/28/2001</0>"
2296"^[0,1]?\d{1}\/(([0-2]?\d{1})|([3][0,1]{1}))\/(([1]{1}[9]{1}[9]{1}\d{1})|([2-9]{1}\d{3}))$" "3-8-01"
2297"^[0,1]?\d{1}\/(([0-2]?\d{1})|([3][0,1]{1}))\/(([1]{1}[9]{1}[9]{1}\d{1})|([2-9]{1}\d{3}))$" "13/32/1001"
2298"^[0,1]?\d{1}\/(([0-2]?\d{1})|([3][0,1]{1}))\/(([1]{1}[9]{1}[9]{1}\d{1})|([2-9]{1}\d{3}))$" "03/32/1989"
2299"((\(\d{3}\)?)|(\d{3}))([\s \-./]?)(\d{3})([\s \-./]?)(\d{4})" G "<0>1.2123644567</0>"
2300"((\(\d{3}\)?)|(\d{3}))([\s \-./]?)(\d{3})([\s \-./]?)(\d{4})" G "<0>0-234.567/8912</0>"
2301"((\(\d{3}\)?)|(\d{3}))([\s \-./]?)(\d{3})([\s \-./]?)(\d{4})" G "<0>1-(212)-123 4567</0>"
2302"((\(\d{3}\)?)|(\d{3}))([\s \-./]?)(\d{3})([\s \-./]?)(\d{4})" "0-212364345"
2303"((\(\d{3}\)?)|(\d{3}))([\s \-./]?)(\d{3})([\s \-./]?)(\d{4})" "1212-364,4321"
2304"((\(\d{3}\)?)|(\d{3}))([\s \-./]?)(\d{3})([\s \-./]?)(\d{4})" "0212\345/6789"
2305"^([0-9]{6}[\s \-]{1}[0-9]{12}|[0-9]{18})$" G "<0>000000 000000000000</0>"
2306"^([0-9]{6}[\s \-]{1}[0-9]{12}|[0-9]{18})$" G "<0>000000-000000000000</0>"
2307"^([0-9]{6}[\s \-]{1}[0-9]{12}|[0-9]{18})$" G "<0>000000000000000000</0>"
2308"^([0-9]{6}[\s \-]{1}[0-9]{12}|[0-9]{18})$" "000000_000000000000"
2309"^(([1-9])|(0[1-9])|(1[0-2]))\/((0[1-9])|([1-31]))\/((\d{2})|(\d{4}))$" G "<0>01/01/2001</0>"
2310"^(([1-9])|(0[1-9])|(1[0-2]))\/((0[1-9])|([1-31]))\/((\d{2})|(\d{4}))$" G "<0>1/1/2001</0>"
2311"^(([1-9])|(0[1-9])|(1[0-2]))\/((0[1-9])|([1-31]))\/((\d{2})|(\d{4}))$" G "<0>01/1/01</0>"
2312"^(([1-9])|(0[1-9])|(1[0-2]))\/((0[1-9])|([1-31]))\/((\d{2})|(\d{4}))$" "13/01/2001"
2313"^(([1-9])|(0[1-9])|(1[0-2]))\/((0[1-9])|([1-31]))\/((\d{2})|(\d{4}))$" "1/2/100"
2314"^(([1-9])|(0[1-9])|(1[0-2]))\/((0[1-9])|([1-31]))\/((\d{2})|(\d{4}))$" "09/32/2001"
2315"^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$" G "<0>$3,023,123.34</0>"
2316"^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$" G "<0>9,876,453</0>"
2317"^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$" G "<0>123456.78</0>"
2318"^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$" "4,33,234.34"
2319"^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$" "$1.234"
2320"^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$" "abc"
2321"^\d{5}$|^\d{5}-\d{4}$" G "<0>55555-5555</0>"
2322"^\d{5}$|^\d{5}-\d{4}$" G "<0>34564-3342</0>"
2323"^\d{5}$|^\d{5}-\d{4}$" G "<0>90210</0>"
2324"^\d{5}$|^\d{5}-\d{4}$" "434454444"
2325"^\d{5}$|^\d{5}-\d{4}$" "645-32-2345"
2326"^\d{5}$|^\d{5}-\d{4}$" "abc"
2327"^\d{3}-\d{2}-\d{4}$" G "<0>333-22-4444</0>"
2328"^\d{3}-\d{2}-\d{4}$" G "<0>123-45-6789</0>"
2329"^\d{3}-\d{2}-\d{4}$" "123456789"
2330"^\d{3}-\d{2}-\d{4}$" "SSN"
2331"^[2-9]\d{2}-\d{3}-\d{4}$" G "<0>800-555-5555</0>"
2332"^[2-9]\d{2}-\d{3}-\d{4}$" G "<0>333-444-5555</0>"
2333"^[2-9]\d{2}-\d{3}-\d{4}$" G "<0>212-666-1234</0>"
2334"^[2-9]\d{2}-\d{3}-\d{4}$" "000-000-0000"
2335"^[2-9]\d{2}-\d{3}-\d{4}$" "123-456-7890"
2336"^[2-9]\d{2}-\d{3}-\d{4}$" "2126661234"
2337"^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$" G "<0>44240</0>"
2338"^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$" G "<0>44240-5555</0>"
2339"^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$" G "<0>G3H 6A3</0>"
2340"^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$" "Ohio"
2341"^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$" "abc"
2342"^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$" "g3h6a3"
2343"[0-9]{4}\s*[a-zA-Z]{2}" G "<0>1054 WD</0>"
2344"[0-9]{4}\s*[a-zA-Z]{2}" G "<0>1054WD</0>"
2345"[0-9]{4}\s*[a-zA-Z]{2}" G "<0>1054 wd</0>"
2346"[0-9]{4}\s*[a-zA-Z]{2}" "10543"
2347"(^1300\d{6}$)|(^1800|1900|1902\d{6}$)|(^0[2|3|7|8]{1}[0-9]{8}$)|(^13\d{4}$)|(^04\d{2,3}\d{6}$)" G "<0>0732105432</0>"
2348"(^1300\d{6}$)|(^1800|1900|1902\d{6}$)|(^0[2|3|7|8]{1}[0-9]{8}$)|(^13\d{4}$)|(^04\d{2,3}\d{6}$)" G "<0>1300333444</0>"
2349"(^1300\d{6}$)|(^1800|1900|1902\d{6}$)|(^0[2|3|7|8]{1}[0-9]{8}$)|(^13\d{4}$)|(^04\d{2,3}\d{6}$)" G "<0>131313</0>"
2350"(^1300\d{6}$)|(^1800|1900|1902\d{6}$)|(^0[2|3|7|8]{1}[0-9]{8}$)|(^13\d{4}$)|(^04\d{2,3}\d{6}$)" "32105432"
2351"(^1300\d{6}$)|(^1800|1900|1902\d{6}$)|(^0[2|3|7|8]{1}[0-9]{8}$)|(^13\d{4}$)|(^04\d{2,3}\d{6}$)" "13000456"
2352"^((https?|ftp)\://((\[?(\d{1,3}\.){3}\d{1,3}\]?)|(([\-a-zA-Z0-9]+\.)+[a-zA-Z]{2,4}))(\:\d+)?(/[\-a-zA-Z0-9._?,'+\&%$#=~\\]+)*/?)$" G "<0>http://207.68.172.254/home.ashx</0>"
2353"^((https?|ftp)\://((\[?(\d{1,3}\.){3}\d{1,3}\]?)|(([\-a-zA-Z0-9]+\.)+[a-zA-Z]{2,4}))(\:\d+)?(/[\-a-zA-Z0-9._?,'+\&%$#=~\\]+)*/?)$" G "<0>ftp://ftp.netscape.com/</0>"
2354"^((https?|ftp)\://((\[?(\d{1,3}\.){3}\d{1,3}\]?)|(([\-a-zA-Z0-9]+\.)+[a-zA-Z]{2,4}))(\:\d+)?(/[\-a-zA-Z0-9._?,'+\&%$#=~\\]+)*/?)$" G "<0>https://www.brinkster.com/login.asp</0>"
2355"^((https?|ftp)\://((\[?(\d{1,3}\.){3}\d{1,3}\]?)|(([\-a-zA-Z0-9]+\.)+[a-zA-Z]{2,4}))(\:\d+)?(/[\-a-zA-Z0-9._?,'+\&%$#=~\\]+)*/?)$" "htp://mistake.com/"
2356"^((https?|ftp)\://((\[?(\d{1,3}\.){3}\d{1,3}\]?)|(([\-a-zA-Z0-9]+\.)+[a-zA-Z]{2,4}))(\:\d+)?(/[\-a-zA-Z0-9._?,'+\&%$#=~\\]+)*/?)$" "http://www_address.com/"
2357"^((https?|ftp)\://((\[?(\d{1,3}\.){3}\d{1,3}\]?)|(([\-a-zA-Z0-9]+\.)+[a-zA-Z]{2,4}))(\:\d+)?(/[\-a-zA-Z0-9._?,'+\&%$#=~\\]+)*/?)$" "ftp://www.files.com/file with spaces.txt"
2358"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})" G "<0>2002-11-03</0>"
2359"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})" G "<0>2007-17-08</0>"
2360"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})" G "<0>9999-99-99</0>"
2361"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})" "2002/17/18"
2362"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})" "2002.18.45"
2363"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})" "18.45.2002"
2364"^\$?(\d{1,3}(\,\d{3})*|(\d+))(\.\d{0,2})?$" G "<0>$0,234.50</0>"
2365"^\$?(\d{1,3}(\,\d{3})*|(\d+))(\.\d{0,2})?$" G "<0>0234.5</0>"
2366"^\$?(\d{1,3}(\,\d{3})*|(\d+))(\.\d{0,2})?$" G "<0>0,234.</0>"
2367"^\$?(\d{1,3}(\,\d{3})*|(\d+))(\.\d{0,2})?$" "$1,23,50"
2368"^\$?(\d{1,3}(\,\d{3})*|(\d+))(\.\d{0,2})?$" "$123.123"
2369"(^\d{5}-\d{3}|^\d{2}.\d{3}-\d{3}|\d{8})" G "<0>12.345-678</0>"
2370"(^\d{5}-\d{3}|^\d{2}.\d{3}-\d{3}|\d{8})" G "<0>12345-678</0>"
2371"(^\d{5}-\d{3}|^\d{2}.\d{3}-\d{3}|\d{8})" G "<0>12345678</0>"
2372"(^\d{5}-\d{3}|^\d{2}.\d{3}-\d{3}|\d{8})" "12.345678"
2373"(^\d{5}-\d{3}|^\d{2}.\d{3}-\d{3}|\d{8})" "12345-1"
2374"(^\d{5}-\d{3}|^\d{2}.\d{3}-\d{3}|\d{8})" "123"
2375'^([a-zA-Z]\:|\\)\\([^\\]+\\)*[^\/:*?"<>|]+\.htm(l)?$' G "<0>x:\\test\\testing.htm</0>"
2376'^([a-zA-Z]\:|\\)\\([^\\]+\\)*[^\/:*?"<>|]+\.htm(l)?$' G "<0>x:\\test\\test#$ ing.html</0>"
2377'^([a-zA-Z]\:|\\)\\([^\\]+\\)*[^\/:*?"<>|]+\.htm(l)?$' G "<0>\\\\test\testing.html</0>"
2378'^([a-zA-Z]\:|\\)\\([^\\]+\\)*[^\/:*?"<>|]+\.htm(l)?$' "x:\test\test/ing.htm"
2379'^([a-zA-Z]\:|\\)\\([^\\]+\\)*[^\/:*?"<>|]+\.htm(l)?$' "x:\test\test*.htm"
2380'^([a-zA-Z]\:|\\)\\([^\\]+\\)*[^\/:*?"<>|]+\.htm(l)?$' "\\test?<.htm"
2381"^[1-9]{1}[0-9]{3}$" G "<0>1234</0>"
2382"^[1-9]{1}[0-9]{3}$" "123"
2383"^[1-9]{1}[0-9]{3}$" "123A"
2384"^[A-Z]{1}( |-)?[1-9]{1}[0-9]{3}$" G "<0>A-1234</0>"
2385"^[A-Z]{1}( |-)?[1-9]{1}[0-9]{3}$" G "<0>A 1234</0>"
2386"^[A-Z]{1}( |-)?[1-9]{1}[0-9]{3}$" G "<0>A1234</0>"
2387"^[A-Z]{1}( |-)?[1-9]{1}[0-9]{3}$" "AA-1234"
2388"^[A-Z]{1}( |-)?[1-9]{1}[0-9]{3}$" "A12345"
2389"^(F-)?[0-9]{5}$" G "<0>12345</0>"
2390"^(F-)?[0-9]{5}$" G "<0>F-12345</0>"
2391"^(F-)?[0-9]{5}$" "F12345"
2392"^(F-)?[0-9]{5}$" "F-123456"
2393"^(F-)?[0-9]{5}$" "123456"
2394"^(V-|I-)?[0-9]{4}$" G "<0>1234</0>"
2395"^(V-|I-)?[0-9]{4}$" G "<0>V-1234</0>"
2396"^(V-|I-)?[0-9]{4}$" "12345"
2397"^[1-9]{1}[0-9]{3} ?[A-Z]{2}$" G "<0>1234 AB</0>"
2398"^[1-9]{1}[0-9]{3} ?[A-Z]{2}$" G "<0>1234AB</0>"
2399"^[1-9]{1}[0-9]{3} ?[A-Z]{2}$" "123AB"
2400"^[1-9]{1}[0-9]{3} ?[A-Z]{2}$" "1234AAA"
2401"^([1-9]{2}|[0-9][1-9]|[1-9][0-9])[0-9]{3}$" G "<0>12345</0>"
2402"^([1-9]{2}|[0-9][1-9]|[1-9][0-9])[0-9]{3}$" G "<0>10234</0>"
2403"^([1-9]{2}|[0-9][1-9]|[1-9][0-9])[0-9]{3}$" G "<0>01234</0>"
2404"^([1-9]{2}|[0-9][1-9]|[1-9][0-9])[0-9]{3}$" "00123"
2405"^(/w|/W|[^<>+?$%\{}\&])+$" G "<0>John Doe Sr.</0>"
2406"^(/w|/W|[^<>+?$%\{}\&])+$" G "<0>100 Elm St., Suite 25</0>"
2407"^(/w|/W|[^<>+?$%\{}\&])+$" G "<0>Valerie's Gift Shop</0>"
2408"^(/w|/W|[^<>+?$%\{}\&])+$" "<h1>Hey</h1>"
2409/<[a-zA-Z][^>]*\son\w+=(\w+|'[^']*'|"[^"]*")[^>]*>/ G '<0><IMG onmouseover="window.close()"></0>'
2410/<[a-zA-Z][^>]*\son\w+=(\w+|'[^']*'|"[^"]*")[^>]*>/ '<IMG src="star.gif">'
2411"(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,3})?$" G "<0>1</0>"
2412"(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,3})?$" G "<0>12345.123</0>"
2413"(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,3})?$" G "<0>0.5</0>"
2414"(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,3})?$" "0"
2415"(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,3})?$" "0.0"
2416"(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,3})?$" "123456.1234"
2417"^.+@[^\.].*\.[a-z]{2,}$" G "<0>whatever@somewhere.museum</0>"
2418"^.+@[^\.].*\.[a-z]{2,}$" G "<0>foreignchars@myforeigncharsdomain.nu</0>"
2419"^.+@[^\.].*\.[a-z]{2,}$" G "<0>me+mysomething@mydomain.com</0>"
2420"^.+@[^\.].*\.[a-z]{2,}$" "a@b.c"
2421"^.+@[^\.].*\.[a-z]{2,}$" "me@.my.com"
2422"^.+@[^\.].*\.[a-z]{2,}$" "a@b.comFOREIGNCHAR"
2423"^(\d{5}-\d{4}|\d{5})$" G "<0>12345</0>"
2424"^(\d{5}-\d{4}|\d{5})$" G "<0>12345-1234</0>"
2425"^(\d{5}-\d{4}|\d{5})$" "12345-12345"
2426"^(\d{5}-\d{4}|\d{5})$" "123"
2427"^(\d{5}-\d{4}|\d{5})$" "12345-abcd"
2428"^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$" G "<0>0.0.0.0</0>"
2429"^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$" G "<0>255.255.255.02</0>"
2430"^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$" G "<0>192.168.0.136</0>"
2431"^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$" "256.1.3.4"
2432"^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$" "023.44.33.22"
2433"^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$" "10.57.98.23."
2434"<img([^>]*[^/])>" G '<0><img src="bob"></0>'
2435"<img([^>]*[^/])>" '<img src="bob" />'
2436"<!--[\s\S]*?-->" G "<0><!-- comments --></0>"
2437"<!--[\s\S]*?-->" G "<0><!-- x = a > b - 3 --></0>"
2438"<!--[\s\S]*?-->" "<COMMENTS>this is a comment</COMMENTS>"
2439"<!--[\p{Zs}\P{Zs}]*?-->" G "<0><!-- comments --></0>"
2440"<!--[\p{Zs}\P{Zs}]*?-->" G "<0><!-- x = a > b - 3 --></0>"
2441"<!--[\p{Zs}\P{Zs}]*?-->" "<COMMENTS>this is a comment</COMMENTS>"
2442/<\u002f?(\w+)(\s+\w+=(\w+|"[^"]*"|'[^']*'))*>/ G "<0><TD></0>"
2443/<\u002f?(\w+)(\s+\w+=(\w+|"[^"]*"|'[^']*'))*>/ G '<0><TD bgColor="FFFFFF"></0>'
2444/<\u002f?(\w+)(\s+\w+=(\w+|"[^"]*"|'[^']*'))*>/ G "<0></TD></0>"
2445/<\u002f?(\w+)(\s+\w+=(\w+|"[^"]*"|'[^']*'))*>/ "No Tag Here ..."
2446"(\{\\f\d*)\\([^;]+;)" G "<0>{\\f0\\Some Font names here;</0>"
2447"(\{\\f\d*)\\([^;]+;)" G "<0>{\\f1\\fswiss\\fcharset0\\fprq2{\\*\\panose 020b0604020202020204}Arial;</0>"
2448"(\{\\f\d*)\\([^;]+;)" G "{\\f"
2449"(\{\\f\d*)\\([^;]+;)" "{f0fs20 some text}"
2450#"</?([a-zA-Z][-A-Za-z\d\.]{0,71})(\s+(\S+)(\s*=\s*([-\w\.]{1,1024}|"[^"]{0,1024}"|'[^']{0,1024}'))?)*\s*>" G '<0><IMG src='stars.gif' alt="space" height=1></0>' # TODO: Can't quote this pattern with the test syntax!
2451#"</?([a-zA-Z][-A-Za-z\d\.]{0,71})(\s+(\S+)(\s*=\s*([-\w\.]{1,1024}|"[^"]{0,1024}"|'[^']{0,1024}'))?)*\s*>" "this is not a tag"
2452"^([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/([2][01]|[1][6-9])\d{2}(\s([0-1]\d|[2][0-3])(\:[0-5]\d){1,2})?$" G "<0>12/30/2002</0>"
2453"^([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/([2][01]|[1][6-9])\d{2}(\s([0-1]\d|[2][0-3])(\:[0-5]\d){1,2})?$" G "<0>01/12/1998 13:30</0>"
2454"^([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/([2][01]|[1][6-9])\d{2}(\s([0-1]\d|[2][0-3])(\:[0-5]\d){1,2})?$" G "<0>01/28/2002 22:35:00</0>"
2455"^([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/([2][01]|[1][6-9])\d{2}(\s([0-1]\d|[2][0-3])(\:[0-5]\d){1,2})?$" "13/30/2002"
2456"^([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/([2][01]|[1][6-9])\d{2}(\s([0-1]\d|[2][0-3])(\:[0-5]\d){1,2})?$" "01/12/1998 24:30"
2457"^([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/([2][01]|[1][6-9])\d{2}(\s([0-1]\d|[2][0-3])(\:[0-5]\d){1,2})?$" "01/28/2002 22:35:64"
2458#"((?<strElement>(^[A-Z0-9-;=]*:))(?<strValue>(.*)))" G "<0>BEGIN:</0>" #named capture
2459#"((?<strElement>(^[A-Z0-9-;=]*:))(?<strValue>(.*)))" G "<0>TEL;WORK;VOICE:</0>" #named capture
2460#"((?<strElement>(^[A-Z0-9-;=]*:))(?<strValue>(.*)))" G "<0>TEL:</0>" #named capture
2461#"((?<strElement>(^[A-Z0-9-;=]*:))(?<strValue>(.*)))" "begin:" #named capture
2462#"((?<strElement>(^[A-Z0-9-;=]*:))(?<strValue>(.*)))" "TEL;PREF;" #named capture
2463'^<a\s+href\s*=\s*"http:\/\/([^"]*)"([^>]*)>(.*?(?=<\/a>))<\/a>$' G '<0><a href="http://www.mysite.com">my external link</a></0>'
2464'^<a\s+href\s*=\s*"http:\/\/([^"]*)"([^>]*)>(.*?(?=<\/a>))<\/a>$' G '<a href="http:/'
2465'^<a\s+href\s*=\s*"http:\/\/([^"]*)"([^>]*)>(.*?(?=<\/a>))<\/a>$' '<a href="myinternalpage.html">my internal link</a>'
2466"^([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/([2][01]|[1][6-9])\d{2}(\s([0]\d|[1][0-2])(\:[0-5]\d){1,2})*\s*([aApP][mM]{0,2})?$" G "<0>12/31/2002</0>"
2467"^([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/([2][01]|[1][6-9])\d{2}(\s([0]\d|[1][0-2])(\:[0-5]\d){1,2})*\s*([aApP][mM]{0,2})?$" G "<0>12/31/2002 08:00</0>"
2468"^([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/([2][01]|[1][6-9])\d{2}(\s([0]\d|[1][0-2])(\:[0-5]\d){1,2})*\s*([aApP][mM]{0,2})?$" G "<0>12/31/2002 08:00 AM</0>"
2469"^([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/([2][01]|[1][6-9])\d{2}(\s([0]\d|[1][0-2])(\:[0-5]\d){1,2})*\s*([aApP][mM]{0,2})?$" "12/31/02"
2470"^([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/([2][01]|[1][6-9])\d{2}(\s([0]\d|[1][0-2])(\:[0-5]\d){1,2})*\s*([aApP][mM]{0,2})?$" "12/31/2002 14:00"
2471"<blockquote>(?:\s*([^<]+)<br>\s*)+</blockquote>" G "<0><blockquote>string1<br>string2<br>string3<br></blockquote></0>"
2472"<blockquote>(?:\s*([^<]+)<br>\s*)+</blockquote>" ".."
2473"^((0?[13578]|10|12)(-|\/)((0[0-9])|([12])([0-9]?)|(3[01]?))(-|\/)((19)([2-9])(\d{1})|(20)([01])(\d{1})|([8901])(\d{1}))|(0?[2469]|11)(-|\/)((0[0-9])|([12])([0-9]?)|(3[0]?))(-|\/)((19)([2-9])(\d{1})|(20)([01])(\d{1})|([8901])(\d{1})))$" G "<0>1/2/03</0>"
2474"^((0?[13578]|10|12)(-|\/)((0[0-9])|([12])([0-9]?)|(3[01]?))(-|\/)((19)([2-9])(\d{1})|(20)([01])(\d{1})|([8901])(\d{1}))|(0?[2469]|11)(-|\/)((0[0-9])|([12])([0-9]?)|(3[0]?))(-|\/)((19)([2-9])(\d{1})|(20)([01])(\d{1})|([8901])(\d{1})))$" G "<0>2/30/1999</0>"
2475"^((0?[13578]|10|12)(-|\/)((0[0-9])|([12])([0-9]?)|(3[01]?))(-|\/)((19)([2-9])(\d{1})|(20)([01])(\d{1})|([8901])(\d{1}))|(0?[2469]|11)(-|\/)((0[0-9])|([12])([0-9]?)|(3[0]?))(-|\/)((19)([2-9])(\d{1})|(20)([01])(\d{1})|([8901])(\d{1})))$" G "<0>03/04/19</0>"
2476"^((0?[13578]|10|12)(-|\/)((0[0-9])|([12])([0-9]?)|(3[01]?))(-|\/)((19)([2-9])(\d{1})|(20)([01])(\d{1})|([8901])(\d{1}))|(0?[2469]|11)(-|\/)((0[0-9])|([12])([0-9]?)|(3[0]?))(-|\/)((19)([2-9])(\d{1})|(20)([01])(\d{1})|([8901])(\d{1})))$" "3/4/2020"
2477"^((0?[13578]|10|12)(-|\/)((0[0-9])|([12])([0-9]?)|(3[01]?))(-|\/)((19)([2-9])(\d{1})|(20)([01])(\d{1})|([8901])(\d{1}))|(0?[2469]|11)(-|\/)((0[0-9])|([12])([0-9]?)|(3[0]?))(-|\/)((19)([2-9])(\d{1})|(20)([01])(\d{1})|([8901])(\d{1})))$" "3/4/1919"
2478'</?(\w+)(\s*\w*\s*=\s*("[^"]*"|\u0027[^\u0027]\u0027|[^>]*))*|/?>' G '<0><font color="blue"></0>'
2479'</?(\w+)(\s*\w*\s*=\s*("[^"]*"|\u0027[^\u0027]\u0027|[^>]*))*|/?>' G "<0></font></0>"
2480'</?(\w+)(\s*\w*\s*=\s*("[^"]*"|\u0027[^\u0027]\u0027|[^>]*))*|/?>' G "<0><br /></0>"
2481'</?(\w+)(\s*\w*\s*=\s*("[^"]*"|\u0027[^\u0027]\u0027|[^>]*))*|/?>' "this is a test..."
2482"^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$" G "<0>12:00am</0>"
2483"^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$" G "<0>1:00 PM</0>"
2484"^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$" G "<0> 12:59 pm</0>"
2485"^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$" "0:00"
2486"^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$" "0:01 am"
2487"^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$" "13:00 pm"
2488"\({1}[0-9]{3}\){1}\-{1}[0-9]{3}\-{1}[0-9]{4}" G "<0>(111)-111-1111</0>"
2489"\({1}[0-9]{3}\){1}\-{1}[0-9]{3}\-{1}[0-9]{4}" "11111111111"
2490"[^abc]" G "<0>def</0>"
2491"[^abc]" "abc"
2492"^(([0]?[1-9]|[1][0-2])[\/|\-|\.]([0-2]\d|[3][0-1]|[1-9])[\/|\-|\.]([2][0])?\d{2}\s+((([0][0-9]|[1][0-2]|[0-9])[\:|\-|\.]([0-5]\d)\s*([aApP][mM])?)|(([0-1][0-9]|[2][0-3]|[0-9])[\:|\-|\.]([0-5]\d))))$" G "<0>01/01/2002 04:42</0>"
2493"^(([0]?[1-9]|[1][0-2])[\/|\-|\.]([0-2]\d|[3][0-1]|[1-9])[\/|\-|\.]([2][0])?\d{2}\s+((([0][0-9]|[1][0-2]|[0-9])[\:|\-|\.]([0-5]\d)\s*([aApP][mM])?)|(([0-1][0-9]|[2][0-3]|[0-9])[\:|\-|\.]([0-5]\d))))$" G "<0>5-12-02 04:42 AM</0>"
2494"^(([0]?[1-9]|[1][0-2])[\/|\-|\.]([0-2]\d|[3][0-1]|[1-9])[\/|\-|\.]([2][0])?\d{2}\s+((([0][0-9]|[1][0-2]|[0-9])[\:|\-|\.]([0-5]\d)\s*([aApP][mM])?)|(([0-1][0-9]|[2][0-3]|[0-9])[\:|\-|\.]([0-5]\d))))$" G "<0>01.01/02 04-42aM</0>"
2495"^(([0]?[1-9]|[1][0-2])[\/|\-|\.]([0-2]\d|[3][0-1]|[1-9])[\/|\-|\.]([2][0])?\d{2}\s+((([0][0-9]|[1][0-2]|[0-9])[\:|\-|\.]([0-5]\d)\s*([aApP][mM])?)|(([0-1][0-9]|[2][0-3]|[0-9])[\:|\-|\.]([0-5]\d))))$" "01-12-1999 4:50PM"
2496"^(([0]?[1-9]|[1][0-2])[\/|\-|\.]([0-2]\d|[3][0-1]|[1-9])[\/|\-|\.]([2][0])?\d{2}\s+((([0][0-9]|[1][0-2]|[0-9])[\:|\-|\.]([0-5]\d)\s*([aApP][mM])?)|(([0-1][0-9]|[2][0-3]|[0-9])[\:|\-|\.]([0-5]\d))))$" "01-12-2002 15:10PM"
2497"^(([0]?[1-9]|[1][0-2])[\/|\-|\.]([0-2]\d|[3][0-1]|[1-9])[\/|\-|\.]([2][0])?\d{2}\s+((([0][0-9]|[1][0-2]|[0-9])[\:|\-|\.]([0-5]\d)\s*([aApP][mM])?)|(([0-1][0-9]|[2][0-3]|[0-9])[\:|\-|\.]([0-5]\d))))$" "01-12-002 8:20PM"
2498"^([1][12]|[0]?[1-9])[\/-]([3][01]|[12]\d|[0]?[1-9])[\/-](\d{4}|\d{2})$" G "<0>11-02-02</0>"
2499"^([1][12]|[0]?[1-9])[\/-]([3][01]|[12]\d|[0]?[1-9])[\/-](\d{4}|\d{2})$" G "<0>1-25-2002</0>"
2500"^([1][12]|[0]?[1-9])[\/-]([3][01]|[12]\d|[0]?[1-9])[\/-](\d{4}|\d{2})$" G "<0>01/25/2002</0>"
2501"^([1][12]|[0]?[1-9])[\/-]([3][01]|[12]\d|[0]?[1-9])[\/-](\d{4}|\d{2})$" "13-02-02"
2502"^([1][12]|[0]?[1-9])[\/-]([3][01]|[12]\d|[0]?[1-9])[\/-](\d{4}|\d{2})$" "11.02.02"
2503"^([1][12]|[0]?[1-9])[\/-]([3][01]|[12]\d|[0]?[1-9])[\/-](\d{4}|\d{2})$" "11/32/2002"
2504"(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])" G "<0>09:30:00</0>"
2505"(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])" G "<0>17:45:20</0>"
2506"(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])" G "<0>23:59:59</0>"
2507"(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])" "24:00:00"
2508"(((0[1-9]|[12][0-9]|3[01])([-./])(0[13578]|10|12)([-./])(\d{4}))|(([0][1-9]|[12][0-9]|30)([-./])(0[469]|11)([-./])(\d{4}))|((0[1-9]|1[0-9]|2[0-8])([-./])(02)([-./])(\d{4}))|((29)(\.|-|\/)(02)([-./])([02468][048]00))|((29)([-./])(02)([-./])([13579][26]00))|((29)([-./])(02)([-./])([0-9][0-9][0][48]))|((29)([-./])(02)([-./])([0-9][0-9][2468][048]))|((29)([-./])(02)([-./])([0-9][0-9][13579][26])))" G "<0>29/02/2000</0>"
2509"(((0[1-9]|[12][0-9]|3[01])([-./])(0[13578]|10|12)([-./])(\d{4}))|(([0][1-9]|[12][0-9]|30)([-./])(0[469]|11)([-./])(\d{4}))|((0[1-9]|1[0-9]|2[0-8])([-./])(02)([-./])(\d{4}))|((29)(\.|-|\/)(02)([-./])([02468][048]00))|((29)([-./])(02)([-./])([13579][26]00))|((29)([-./])(02)([-./])([0-9][0-9][0][48]))|((29)([-./])(02)([-./])([0-9][0-9][2468][048]))|((29)([-./])(02)([-./])([0-9][0-9][13579][26])))" G "<0>31/01/2000</0>"
2510"(((0[1-9]|[12][0-9]|3[01])([-./])(0[13578]|10|12)([-./])(\d{4}))|(([0][1-9]|[12][0-9]|30)([-./])(0[469]|11)([-./])(\d{4}))|((0[1-9]|1[0-9]|2[0-8])([-./])(02)([-./])(\d{4}))|((29)(\.|-|\/)(02)([-./])([02468][048]00))|((29)([-./])(02)([-./])([13579][26]00))|((29)([-./])(02)([-./])([0-9][0-9][0][48]))|((29)([-./])(02)([-./])([0-9][0-9][2468][048]))|((29)([-./])(02)([-./])([0-9][0-9][13579][26])))" G "<0>30-01-2000</0>"
2511"(((0[1-9]|[12][0-9]|3[01])([-./])(0[13578]|10|12)([-./])(\d{4}))|(([0][1-9]|[12][0-9]|30)([-./])(0[469]|11)([-./])(\d{4}))|((0[1-9]|1[0-9]|2[0-8])([-./])(02)([-./])(\d{4}))|((29)(\.|-|\/)(02)([-./])([02468][048]00))|((29)([-./])(02)([-./])([13579][26]00))|((29)([-./])(02)([-./])([0-9][0-9][0][48]))|((29)([-./])(02)([-./])([0-9][0-9][2468][048]))|((29)([-./])(02)([-./])([0-9][0-9][13579][26])))" "29/02/2002"
2512"(((0[1-9]|[12][0-9]|3[01])([-./])(0[13578]|10|12)([-./])(\d{4}))|(([0][1-9]|[12][0-9]|30)([-./])(0[469]|11)([-./])(\d{4}))|((0[1-9]|1[0-9]|2[0-8])([-./])(02)([-./])(\d{4}))|((29)(\.|-|\/)(02)([-./])([02468][048]00))|((29)([-./])(02)([-./])([13579][26]00))|((29)([-./])(02)([-./])([0-9][0-9][0][48]))|((29)([-./])(02)([-./])([0-9][0-9][2468][048]))|((29)([-./])(02)([-./])([0-9][0-9][13579][26])))" "32/01/2002"
2513"(((0[1-9]|[12][0-9]|3[01])([-./])(0[13578]|10|12)([-./])(\d{4}))|(([0][1-9]|[12][0-9]|30)([-./])(0[469]|11)([-./])(\d{4}))|((0[1-9]|1[0-9]|2[0-8])([-./])(02)([-./])(\d{4}))|((29)(\.|-|\/)(02)([-./])([02468][048]00))|((29)([-./])(02)([-./])([13579][26]00))|((29)([-./])(02)([-./])([0-9][0-9][0][48]))|((29)([-./])(02)([-./])([0-9][0-9][2468][048]))|((29)([-./])(02)([-./])([0-9][0-9][13579][26])))" "10/2/2002"
2514"^0[1-6]{1}(([0-9]{2}){4})|((\s[0-9]{2}){4})|((-[0-9]{2}){4})$" G "<0>01 46 70 89 12</0>"
2515"^0[1-6]{1}(([0-9]{2}){4})|((\s[0-9]{2}){4})|((-[0-9]{2}){4})$" G "<0>01-46-70-89-12</0>"
2516"^0[1-6]{1}(([0-9]{2}){4})|((\s[0-9]{2}){4})|((-[0-9]{2}){4})$" G "<0>0146708912</0>"
2517"^0[1-6]{1}(([0-9]{2}){4})|((\s[0-9]{2}){4})|((-[0-9]{2}){4})$" "01-46708912"
2518"^0[1-6]{1}(([0-9]{2}){4})|((\s[0-9]{2}){4})|((-[0-9]{2}){4})$" "01 46708912"
2519"^0[1-6]{1}(([0-9]{2}){4})|((\s[0-9]{2}){4})|((-[0-9]{2}){4})$" "+33235256677"
2520"^[0-9A-Za-z_ ]+(.[jJ][pP][gG]|.[gG][iI][fF])$" G "<0>good.gif</0>"
2521"^[0-9A-Za-z_ ]+(.[jJ][pP][gG]|.[gG][iI][fF])$" G "<0>go d.GIf</0>"
2522"^[0-9A-Za-z_ ]+(.[jJ][pP][gG]|.[gG][iI][fF])$" G "<0>goo_d.jPg</0>"
2523"^[0-9A-Za-z_ ]+(.[jJ][pP][gG]|.[gG][iI][fF])$" "junk"
2524"^[0-9A-Za-z_ ]+(.[jJ][pP][gG]|.[gG][iI][fF])$" "bad.bad.gif"
2525"^[0-9A-Za-z_ ]+(.[jJ][pP][gG]|.[gG][iI][fF])$" "slash\gif."
2526"<[^>\s]*\bauthor\b[^>]*>" G '<0><author name="Daniel"></0>'
2527"<[^>\s]*\bauthor\b[^>]*>" G "<0></sch:author></0>"
2528# "<[^>\s]*\bauthor\b[^>]*>" G '<0><pp:author name="Daniel"</0>' #Debug should work
2529"<[^> ]*\bauthor\b[^>]*>" G "<0></sch:author></0>"
2530"<[^> ]*\bauthor\b[^>]*>" G '<0><pp:author name="Daniel"></0>'
2531"<[^>\s]*\bauthor\b[^>]*>" "<other>"
2532"<[^>\s]*\bauthor\b[^>]*>" "</authors>"
2533"<[^>\s]*\bauthor\b[^>]*>" "<work>author</work>"
2534"^(?:(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00)))(\/|-|\.)(?:0?2\1(?:29))$)|(?:(?:1[6-9]|[2-9]\d)?\d{2})(\/|-|\.)(?:(?:(?:0?[13578]|1[02])\2(?:31))|(?:(?:0?[1,3-9]|1[0-2])\2(29|30))|(?:(?:0?[1-9])|(?:1[0-2]))\2(?:0?[1-9]|1\d|2[0-8]))$" G "<0>04/2/29</0>"
2535"^(?:(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00)))(\/|-|\.)(?:0?2\1(?:29))$)|(?:(?:1[6-9]|[2-9]\d)?\d{2})(\/|-|\.)(?:(?:(?:0?[13578]|1[02])\2(?:31))|(?:(?:0?[1,3-9]|1[0-2])\2(29|30))|(?:(?:0?[1-9])|(?:1[0-2]))\2(?:0?[1-9]|1\d|2[0-8]))$" G "<0>2002-4-30</0>"
2536"^(?:(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00)))(\/|-|\.)(?:0?2\1(?:29))$)|(?:(?:1[6-9]|[2-9]\d)?\d{2})(\/|-|\.)(?:(?:(?:0?[13578]|1[02])\2(?:31))|(?:(?:0?[1,3-9]|1[0-2])\2(29|30))|(?:(?:0?[1-9])|(?:1[0-2]))\2(?:0?[1-9]|1\d|2[0-8]))$" G "<0>02.10.31</0>"
2537"^(?:(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00)))(\/|-|\.)(?:0?2\1(?:29))$)|(?:(?:1[6-9]|[2-9]\d)?\d{2})(\/|-|\.)(?:(?:(?:0?[13578]|1[02])\2(?:31))|(?:(?:0?[1,3-9]|1[0-2])\2(29|30))|(?:(?:0?[1-9])|(?:1[0-2]))\2(?:0?[1-9]|1\d|2[0-8]))$" "2003/2/29"
2538"^(?:(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00)))(\/|-|\.)(?:0?2\1(?:29))$)|(?:(?:1[6-9]|[2-9]\d)?\d{2})(\/|-|\.)(?:(?:(?:0?[13578]|1[02])\2(?:31))|(?:(?:0?[1,3-9]|1[0-2])\2(29|30))|(?:(?:0?[1-9])|(?:1[0-2]))\2(?:0?[1-9]|1\d|2[0-8]))$" "02.4.31"
2539"^(?:(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00)))(\/|-|\.)(?:0?2\1(?:29))$)|(?:(?:1[6-9]|[2-9]\d)?\d{2})(\/|-|\.)(?:(?:(?:0?[13578]|1[02])\2(?:31))|(?:(?:0?[1,3-9]|1[0-2])\2(29|30))|(?:(?:0?[1-9])|(?:1[0-2]))\2(?:0?[1-9]|1\d|2[0-8]))$" "00/00/00"
2540'(\d*)\u0027*-*(\d*)/*(\d*)"' G '<0>5\u0027-3/16"</0>'
2541'(\d*)\u0027*-*(\d*)/*(\d*)"' G '<0>1\u0027-2"</0>'
2542'(\d*)\u0027*-*(\d*)/*(\d*)"' G '<0>5/16"</0>'
2543'(\d*)\u0027*-*(\d*)/*(\d*)"' '1 3/16'
2544"^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$" G "<0>1</0>"
2545"^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$" G "<0>23</0>"
2546"^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$" G "<0>50</0>"
2547"^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$" "0"
2548"^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$" "111"
2549"^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$" "xyz"
2550"^([ \u00c0-\u01ffa-zA-Z'])+$" G "<0>Jon Doe</0>"
2551"^([ \u00c0-\u01ffa-zA-Z'])+$" G "<0>J\u00f8rn</0>"
2552"^([ \u00c0-\u01ffa-zA-Z'])+$" G "<0>Mc'Neelan</0>"
2553"^([ \u00c0-\u01ffa-zA-Z'])+$" "Henry); hacking attempt"
2554"^((([0]?[1-9]|1[0-2])(:|\.)(00|15|30|45)?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)(00|15|30|45)?))$" G "<0>1:00 PM</0>"
2555"^((([0]?[1-9]|1[0-2])(:|\.)(00|15|30|45)?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)(00|15|30|45)?))$" G "<0>6:45 am</0>"
2556"^((([0]?[1-9]|1[0-2])(:|\.)(00|15|30|45)?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)(00|15|30|45)?))$" G "<0>17:30</0>"
2557"^((([0]?[1-9]|1[0-2])(:|\.)(00|15|30|45)?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)(00|15|30|45)?))$" "4:32 am"
2558"^((([0]?[1-9]|1[0-2])(:|\.)(00|15|30|45)?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)(00|15|30|45)?))$" "5:30:00 am"
2559"^((([0]?[1-9]|1[0-2])(:|\.)(00|15|30|45)?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)(00|15|30|45)?))$" "17:01"
2560"(^\d*\.?\d*[1-9]+\d*$)|(^[1-9]+\d*\.\d*$)" G "<0>0.050</0>"
2561"(^\d*\.?\d*[1-9]+\d*$)|(^[1-9]+\d*\.\d*$)" G "<0>5.0000</0>"
2562"(^\d*\.?\d*[1-9]+\d*$)|(^[1-9]+\d*\.\d*$)" G "<0>5000</0>"
2563"(^\d*\.?\d*[1-9]+\d*$)|(^[1-9]+\d*\.\d*$)" "0"
2564"(^\d*\.?\d*[1-9]+\d*$)|(^[1-9]+\d*\.\d*$)" "0.0"
2565"(^\d*\.?\d*[1-9]+\d*$)|(^[1-9]+\d*\.\d*$)" ".0"
2566"^([A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^$" G "<0>Sacramento</0>"
2567"^([A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^$" "<0><2>San Francisco</2></0>"
2568"^([A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^$" "<0><3>San Luis Obispo</3></0>"
2569"^([A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^$" "SanFrancisco"
2570"^([A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^$" "SanLuisObispo"
2571"^([A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^$" "San francisco"
2572"^\{?[a-fA-F\d]{8}-([a-fA-F\d]{4}-){3}[a-fA-F\d]{12}\}?$" G "<0>{e02ff0e4-00ad-090A-c030-0d00a0008ba0}</0>"
2573"^\{?[a-fA-F\d]{8}-([a-fA-F\d]{4}-){3}[a-fA-F\d]{12}\}?$" G "<0>e02ff0e4-00ad-090A-c030-0d00a0008ba0</0>"
2574"^\{?[a-fA-F\d]{8}-([a-fA-F\d]{4}-){3}[a-fA-F\d]{12}\}?$" "0xe02ff0e400ad090Ac0300d00a0008ba0"
2575"^\{?[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}\}?$" G "<0>{e02ff0e4-00ad-090A-c030-0d00a0008ba0}</0>"
2576"^\{?[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}\}?$" G "<0>e02ff0e4-00ad-090A-c030-0d00a0008ba0</0>"
2577"^\{?[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}\}?$" "0xe02ff0e400ad090Ac0300d00a0008ba0"
2578"^([a-zA-Z0-9@*#]{8,15})$" G "<0>@12X*567</0>"
2579"^([a-zA-Z0-9@*#]{8,15})$" G "<0>1#Zv96g@*Yfasd4</0>"
2580"^([a-zA-Z0-9@*#]{8,15})$" G "<0>#67jhgt@erd</0>"
2581"^([a-zA-Z0-9@*#]{8,15})$" "$12X*567"
2582"^([a-zA-Z0-9@*#]{8,15})$" "1#Zv_96"
2583"^([a-zA-Z0-9@*#]{8,15})$" "+678jhgt@erd"
2584'(("|\u0027)[a-z0-9\/\.\?\=\&]*(\.htm|\.asp|\.php|\.jsp)[a-z0-9\/\.\?\=\&]*("|\u0027))|(href=*?[a-z0-9\/\.\?\=\&"\u0027]*)' G '<0>href="produktsida.asp?kategori2=218"</0>'
2585'(("|\u0027)[a-z0-9\/\.\?\=\&]*(\.htm|\.asp|\.php|\.jsp)[a-z0-9\/\.\?\=\&]*("|\u0027))|(href=*?[a-z0-9\/\.\?\=\&"\u0027]*)' G '<0>href="NuclearTesting.htm"</0>'
2586'(("|\u0027)[a-z0-9\/\.\?\=\&]*(\.htm|\.asp|\.php|\.jsp)[a-z0-9\/\.\?\=\&]*("|\u0027))|(href=*?[a-z0-9\/\.\?\=\&"\u0027]*)' 'U Suck'
2587"^(((((0[1-9])|(1\d)|(2[0-8]))-((0[1-9])|(1[0-2])))|((31-((0[13578])|(1[02])))|((29|30)-((0[1,3-9])|(1[0-2])))))-((20[0-9][0-9]))|(29-02-20(([02468][048])|([13579][26]))))$" G "<0>05-01-2002</0>"
2588"^(((((0[1-9])|(1\d)|(2[0-8]))-((0[1-9])|(1[0-2])))|((31-((0[13578])|(1[02])))|((29|30)-((0[1,3-9])|(1[0-2])))))-((20[0-9][0-9]))|(29-02-20(([02468][048])|([13579][26]))))$" G "<0>29-02-2004</0>"
2589"^(((((0[1-9])|(1\d)|(2[0-8]))-((0[1-9])|(1[0-2])))|((31-((0[13578])|(1[02])))|((29|30)-((0[1,3-9])|(1[0-2])))))-((20[0-9][0-9]))|(29-02-20(([02468][048])|([13579][26]))))$" G "<0>31-12-2002</0>"
2590"^(((((0[1-9])|(1\d)|(2[0-8]))-((0[1-9])|(1[0-2])))|((31-((0[13578])|(1[02])))|((29|30)-((0[1,3-9])|(1[0-2])))))-((20[0-9][0-9]))|(29-02-20(([02468][048])|([13579][26]))))$" "1-1-02"
2591"^(((((0[1-9])|(1\d)|(2[0-8]))-((0[1-9])|(1[0-2])))|((31-((0[13578])|(1[02])))|((29|30)-((0[1,3-9])|(1[0-2])))))-((20[0-9][0-9]))|(29-02-20(([02468][048])|([13579][26]))))$" "29-02-2002"
2592"^(((((0[1-9])|(1\d)|(2[0-8]))-((0[1-9])|(1[0-2])))|((31-((0[13578])|(1[02])))|((29|30)-((0[1,3-9])|(1[0-2])))))-((20[0-9][0-9]))|(29-02-20(([02468][048])|([13579][26]))))$" "31-11-2002"
2593"^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$" G "<0>123456.123456</0>"
2594"^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$" G "<0>123456,123456</0>"
2595"^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$" G "<0>123456</0>"
2596"^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$" "123a.123"
2597"^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$" "123a,123"
2598"^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$" "a"
2599"^(ac|AC|al|AL|am|AM|ap|AP|ba|BA|ce|CE|df|DF|es|ES|go|GO|ma|MA|mg|MG|ms|MS|mt|MT|pa|PA|pb|PB|pe|PE|pi|PI|pr|PR|rj|RJ|rn|RN|ro|RO|rr|RR|rs|RS|sc|SC|se|SE|sp|SP|to|TO)$" G "<0>AC</0>"
2600"^(ac|AC|al|AL|am|AM|ap|AP|ba|BA|ce|CE|df|DF|es|ES|go|GO|ma|MA|mg|MG|ms|MS|mt|MT|pa|PA|pb|PB|pe|PE|pi|PI|pr|PR|rj|RJ|rn|RN|ro|RO|rr|RR|rs|RS|sc|SC|se|SE|sp|SP|to|TO)$" G "<0>RJ</0>"
2601"^(ac|AC|al|AL|am|AM|ap|AP|ba|BA|ce|CE|df|DF|es|ES|go|GO|ma|MA|mg|MG|ms|MS|mt|MT|pa|PA|pb|PB|pe|PE|pi|PI|pr|PR|rj|RJ|rn|RN|ro|RO|rr|RR|rs|RS|sc|SC|se|SE|sp|SP|to|TO)$" G "<0>SP</0>"
2602"^(ac|AC|al|AL|am|AM|ap|AP|ba|BA|ce|CE|df|DF|es|ES|go|GO|ma|MA|mg|MG|ms|MS|mt|MT|pa|PA|pb|PB|pe|PE|pi|PI|pr|PR|rj|RJ|rn|RN|ro|RO|rr|RR|rs|RS|sc|SC|se|SE|sp|SP|to|TO)$" "XX"
2603"^(ac|AC|al|AL|am|AM|ap|AP|ba|BA|ce|CE|df|DF|es|ES|go|GO|ma|MA|mg|MG|ms|MS|mt|MT|pa|PA|pb|PB|pe|PE|pi|PI|pr|PR|rj|RJ|rn|RN|ro|RO|rr|RR|rs|RS|sc|SC|se|SE|sp|SP|to|TO)$" "AB"
2604"^(ac|AC|al|AL|am|AM|ap|AP|ba|BA|ce|CE|df|DF|es|ES|go|GO|ma|MA|mg|MG|ms|MS|mt|MT|pa|PA|pb|PB|pe|PE|pi|PI|pr|PR|rj|RJ|rn|RN|ro|RO|rr|RR|rs|RS|sc|SC|se|SE|sp|SP|to|TO)$" "HJ"
2605"^[+]?\d*$" G "<0>0123456789</0>"
2606"^[+]?\d*$" G "<0>1234</0>"
2607"^[+]?\d*$" G "<0>1</0>"
2608"^[+]?\d*$" "1.0?&"
2609"^[+]?\d*$" "a1"
2610"^[+]?\d*$" "2a-"
2611#/<[aA][ ]{0,}([a-zA-Z0-9"'_,.:;!?@$\&()%=\u002f ]|[\-]|[ \f]){0,}>((<(([a-zA-Z0-9"'_,.:;!?@$\&()%=\u002f ]|[\-]|[ \f]){0,})>([a-zA-Z0-9"'_,.:;!?@$\&()%=\u002f ]|[\-]|[ \f]){0,})|(([a-zA-Z0-9"'_,.:;!?@$\&()%=\u002f ]|[\-]|[ \f]){0,})){1,}/ G "<0><a href='javascript:functionA();'><i>this text is italicized</i></a></0>" #TODO: Need infinite loop breaking
2612#/<[aA][ ]{0,}([a-zA-Z0-9"'_,.:;!?@$\&()%=\u002f ]|[\-]|[ \f]){0,}>((<(([a-zA-Z0-9"'_,.:;!?@$\&()%=\u002f ]|[\-]|[ \f]){0,})>([a-zA-Z0-9"'_,.:;!?@$\&()%=\u002f ]|[\-]|[ \f]){0,})|(([a-zA-Z0-9"'_,.:;!?@$\&()%=\u002f ]|[\-]|[ \f]){0,})){1,}/ "<A href='#'><P</A></P>" #TODO: need infinite loop breaking.
2613"^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$" G "<0>0:00</0>"
2614"^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$" G "<0>23:00</0>"
2615"^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$" G "<0>00:59</0>"
2616"^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$" "0:0"
2617"^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$" "24:00"
2618"^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$" "00:60"
2619"^((0[1-9])|(1[0-2]))\/(\d{2})$" G "<0>11/03</0>"
2620"^((0[1-9])|(1[0-2]))\/(\d{2})$" G "<0>01/04</0>"
2621"^((0[1-9])|(1[0-2]))\/(\d{2})$" "13/03"
2622"^((0[1-9])|(1[0-2]))\/(\d{2})$" "10/2003"
2623"<script[^>]*>[\w|\t|\r|\W]*</script>" G '<0><script language=javascript>document.write("one");</script></0>'
2624"<script[^>]*>[\w|\t|\r|\W]*</script>" "--"
2625"<script[^>]*>[\w|\t|\r|\W]*</script>" "A-Z][a-z]+"
2626#"<script[^>]*>[\w|\t|\r|\W]*</script>" G "<0>strFirstName</0>" # Test Case damaged?
2627#"<script[^>]*>[\w|\t|\r|\W]*</script>" G "<0>intAgeInYears</0>" # Test Case damaged?
2628#"<script[^>]*>[\w|\t|\r|\W]*</script>" G "<0>Where the Wild Things Are</0>" # Test Case damaged?
2629"<script[^>]*>[\w|\t|\r|\W]*</script>" "123"
2630"<script[^>]*>[\w|\t|\r|\W]*</script>" "abc"
2631"<script[^>]*>[\w|\t|\r|\W]*</script>" "this has no caps in it"
2632"(^-\d*\.?\d*[1-9]+\d*$)|(^-[1-9]+\d*\.\d*$)" G "<0>-0.050</0>"
2633"(^-\d*\.?\d*[1-9]+\d*$)|(^-[1-9]+\d*\.\d*$)" G "<0>-5.000</0>"
2634"(^-\d*\.?\d*[1-9]+\d*$)|(^-[1-9]+\d*\.\d*$)" G "<0>-5</0>"
2635"(^-\d*\.?\d*[1-9]+\d*$)|(^-[1-9]+\d*\.\d*$)" "0"
2636"(^-\d*\.?\d*[1-9]+\d*$)|(^-[1-9]+\d*\.\d*$)" "0.0"
2637"(^-\d*\.?\d*[1-9]+\d*$)|(^-[1-9]+\d*\.\d*$)" ".0"
2638"^([2][0]\d{2}\/([0]\d|[1][0-2])\/([0-2]\d|[3][0-1]))$|^([2][0]\d{2}\/([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\s([0-1]\d|[2][0-3])\:[0-5]\d\:[0-5]\d)$" G "<0>2002/02/03</0>"
2639"^([2][0]\d{2}\/([0]\d|[1][0-2])\/([0-2]\d|[3][0-1]))$|^([2][0]\d{2}\/([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\s([0-1]\d|[2][0-3])\:[0-5]\d\:[0-5]\d)$" G "<0>2002/02/03 12:12:18</0>"
2640"^([2][0]\d{2}\/([0]\d|[1][0-2])\/([0-2]\d|[3][0-1]))$|^([2][0]\d{2}\/([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\s([0-1]\d|[2][0-3])\:[0-5]\d\:[0-5]\d)$" "2002/02/36"
2641"^([2][0]\d{2}\/([0]\d|[1][0-2])\/([0-2]\d|[3][0-1]))$|^([2][0]\d{2}\/([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\s([0-1]\d|[2][0-3])\:[0-5]\d\:[0-5]\d)$" "02/03/2002"
2642"^(\d|,)*\.?\d*$" G "<0>1,000</0>"
2643"^(\d|,)*\.?\d*$" G "<0>3,000.05</0>"
2644"^(\d|,)*\.?\d*$" G "<0>5,000,000</0>"
2645"^(\d|,)*\.?\d*$" "abc"
2646"^(\d|,)*\.?\d*$" "$100,000"
2647"^(\d|,)*\.?\d*$" "Forty"
2648"^\d$" G "<0>1</0>"
2649"^\d$" G "<0>2</0>"
2650"^\d$" G "<0>3</0>"
2651"^\d$" "a"
2652"^\d$" "324"
2653"^\d$" "num"
2654"^[0-9]+$" G "<0>1234567890</0>"
2655"^[0-9]+$" G "<0>1234567890</0>"
2656"^[0-9]+$" G "<0>1234567890</0>"
2657"^[0-9]+$" "http://none"
2658"^[0-9]+$" "http://none"
2659"^[0-9]+$" "http://none"
2660"^.{4,8}$" G "<0>asdf</0>"
2661"^.{4,8}$" G "<0>1234</0>"
2662"^.{4,8}$" G "<0>asdf1234</0>"
2663"^.{4,8}$" "asd"
2664"^.{4,8}$" "123"
2665"^.{4,8}$" "asdfe12345"
2666"^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$" G "<0>a@a.com</0>"
2667"^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$" G "<0>a@a.com.au</0>"
2668"^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$" G "<0>a@a.au</0>"
2669"^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$" "word"
2670"^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$" "word@"
2671"^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$" "@word"
2672"^\d{5}-\d{4}$" G "<0>22222-3333</0>"
2673"^\d{5}-\d{4}$" G "<0>34545-2367</0>"
2674"^\d{5}-\d{4}$" G "<0>56334-2343</0>"
2675"^\d{5}-\d{4}$" "123456789"
2676"^\d{5}-\d{4}$" "A3B 4C5"
2677"^\d{5}-\d{4}$" "55335"
2678"(a|b|c).(a.b)*.b+.c" G "<0>autbfc</0>"
2679"(a|b|c).(a.b)*.b+.c" "attc"
2680'"((\\")|[^"(\\")])+"' G '<0>"test"</0>'
2681'"((\\")|[^"(\\")])+"' G '<0>"escape\"quote"</0>'
2682'"((\\")|[^"(\\")])+"' G '<0>"\\""</0>'
2683'"((\\")|[^"(\\")])+"' "test"
2684'"((\\")|[^"(\\")])+"' '"test'
2685'"((\\")|[^"(\\")])+"' '""test\\"'
2686"((0[1-9])|(1[02]))/\d{2}" G "<0>01/00</0>"
2687"((0[1-9])|(1[02]))/\d{2}" G "<0>12/99</0>"
2688"((0[1-9])|(1[02]))/\d{2}" "13/00"
2689"((0[1-9])|(1[02]))/\d{2}" "12/AS"
2690"^[a-zA-Z]$" G "<0>a</0>"
2691"^[a-zA-Z]$" G "<0>B</0>"
2692"^[a-zA-Z]$" G "<0>c</0>"
2693"^[a-zA-Z]$" "0"
2694"^[a-zA-Z]$" "&"
2695"^[a-zA-Z]$" "AbC"
2696"^[a-zA-Z]+$" G "<0>abc</0>"
2697"^[a-zA-Z]+$" G "<0>ABC</0>"
2698"^[a-zA-Z]+$" G "<0>aBcDeF</0>"
2699"^[a-zA-Z]+$" "abc123"
2700"^[a-zA-Z]+$" "mr."
2701"^[a-zA-Z]+$" "a word"
2702"^\s*[a-zA-Z,\p{Zs}]+\s*$" G "<0>Smith, Ed</0>"
2703"^\s*[a-zA-Z,\p{Zs}]+\s*$" G "<0>Ed Smith</0>"
2704"^\s*[a-zA-Z,\p{Zs}]+\s*$" G "<0>aBcDeFgH</0>"
2705"^\s*[a-zA-Z,\p{Zs}]+\s*$" "a123"
2706"^\s*[a-zA-Z,\p{Zs}]+\s*$" "AB5"
2707"^\s*[a-zA-Z,\p{Zs}]+\s*$" "Mr. Ed"
2708"(\w+?@\w+?\u002E.+)" G "<0>bob@vsnl.com</0>"
2709"(\w+?@\w+?\u002E.+)" "[AABB]"
2710"^\d+$" G "<0>123</0>"
2711"^\d+$" G "<0>10</0>"
2712"^\d+$" G "<0>54</0>"
2713"^\d+$" "-54"
2714"^\d+$" "54.234"
2715"^\d+$" "abc"
2716"^(\+|-)?\d+$" G "<0>-34</0>"
2717"^(\+|-)?\d+$" G "<0>34</0>"
2718"^(\+|-)?\d+$" G "<0>+5</0>"
2719"^(\+|-)?\d+$" "abc"
2720"^(\+|-)?\d+$" "3.1415"
2721"^(\+|-)?\d+$" "-5.3"
2722"foo" G "<0>foo</0>"
2723"foo" "bar"
2724"^[1-5]$" G "<0>1</0>"
2725"^[1-5]$" G "<0>3</0>"
2726"^[1-5]$" G "<0>4</0>"
2727"^[1-5]$" "6"
2728"^[1-5]$" "23"
2729"^[1-5]$" "a"
2730"^[12345]$" G "<0>1</0>"
2731"^[12345]$" G "<0>2</0>"
2732"^[12345]$" G "<0>4</0>"
2733"^[12345]$" "6"
2734"^[12345]$" "-1"
2735"^[12345]$" "abc"
2736"^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" G "<0>joe@aol.com</0>"
2737"^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" G "<0>joe@wrox.co.uk</0>"
2738"^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" G "<0>joe@domain.info</0>"
2739"^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" "a@b"
2740"^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" "notanemail"
2741"^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" "joe@@."
2742"^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" G "<0>joe@aol.com</0>"
2743"^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" G "<0>ssmith@aspalliance.com</0>"
2744"^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" G "<0>a@b.cc</0>"
2745"^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" "joe@123aspx.com"
2746"^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" "joe@web.info"
2747"^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" "joe@company.co.uk"
2748"[\w-]+@([\w-]+\.)+[\w-]+" G "<0>joe@aol.com</0>"
2749"[\w-]+@([\w-]+\.)+[\w-]+" G "<0>a@b.c</0>"
2750"[\w-]+@([\w-]+\.)+[\w-]+" "asdf"
2751"[\w-]+@([\w-]+\.)+[\w-]+" "1234"
2752"\d{4}-?\d{4}-?\d{4}-?\d{4}" G "<0>1234-1234-1234-1234</0>"
2753"\d{4}-?\d{4}-?\d{4}-?\d{4}" G "<0>1234123412341234</0>"
2754"\d{4}-?\d{4}-?\d{4}-?\d{4}" "1234123412345"
2755"^\d{5}$" G "<0>33333</0>"
2756"^\d{5}$" G "<0>55555</0>"
2757"^\d{5}$" G "<0>23445</0>"
2758"^\d{5}$" "abcd"
2759"^\d{5}$" "1324"
2760"^\d{5}$" "as;lkjdf"
2761"(\w+)\s+\1" G "<0>hubba hubba</0>"
2762"(\w+)\s+\1" G "<0>mandate dated</0>"
2763"(\w+)\s+\1" G "<0>an annual</0>"
2764"(\w+)\s+\1" "may day"
2765"(\w+)\s+\1" "gogo"
2766"(\w+)\s+\1" "1212"
2767"^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" G "<0>3SquareBand.com</0>"
2768"^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" G "<0>asp.net</0>"
2769"^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" G "<0>army.mil</0>"
2770"^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" "$SquareBand.com"
2771"^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" "asp/dot.net"
2772"^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" "army.military"
2773