]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/testdata/regextst.txt
ICU-400.37.tar.gz
[apple/icu.git] / icuSources / test / testdata / regextst.txt
1 # Copyright (c) 2001-2007 International Business Machines
2 # Corporation and others. All Rights Reserved.
3 #
4 # file:
5 #
6 # ICU regular expression test cases.
7 #
8 # format: one test case per line,
9 # <test case> = <pattern> <flags> <match string> [# comment]
10 # <pattern> = "<regular expression pattern>"
11 # <match string> = "<tagged string>"
12 # the quotes on the pattern and match string can be " or ' or /
13 # <tagged string> = text, with the start and end of each
14 # capture group tagged with <n>...</n>. The overall match,
15 # if any, is group 0, as in <0>matched text</0>
16 #
17 # A region can be specified with <r>...</r> tags.
18 #
19 # <flags> = any combination of
20 # i case insensitive match
21 # x free spacing and comments
22 # s dot-matches-all mode
23 # m multi-line mode.
24 # ($ and ^ match at embedded new-lines)
25 # D Unix Lines mode (only recognize 0x0a as new-line)
26 # v If icu configured without break iteration, this
27 # regex test pattern should not compile.
28 # e set the UREGEX_ERROR_ON_UNKNOWN_ESCAPES flag
29 # d dump the compiled pattern
30 # t trace operation of match engine.
31 # 2-9 a digit between 2 and 9, specifies the number of
32 # times to execute find(). The expected results are
33 # for the last find() in the sequence.
34 # G Only check match / no match. Do not check capture groups.
35 # E Pattern compilation error expected
36 # L Use LookingAt() rather than find()
37 # M Use matches() rather than find().
38 #
39 # a Use non-Anchoring Bounds.
40 # b Use Transparent Bounds.
41 # The a and t options only make a difference if
42 # a <r>region</r> has been specified in the string.
43 # z|Z hitEnd was expected(z) or not expected (Z).
44 # With neither, hitEnd is not checked.
45 # y|Y Require End expected(y) or not expected (Y).
46 #
47 # White space must be present between the flags and the match string.
48 #
49
50 # Look-ahead expressions
51 #
52 "abc(?=def)" "<0>abc</0>def"
53 "(.*)(?=c)" "<0><1>ab</1></0>cdef"
54
55 "(?:.*)(?=c)" "<r>ab</r>cdef"
56 "(?:.*)(?=c)" b "<r><0>ab</0></r>cdef" # transparent bounds
57 "(?:.*)(?=c)" bM "<r><0>ab</0></r>cdef" # transparent bounds
58
59 "(?:.*)(?=(c))" b "<0>ab</0><1>c</1>def" # Capture in look-ahead
60 "(?=(.)\1\1)\1" "abcc<0><1>d</1></0>ddefg" # Backrefs to look-ahead capture
61
62 ".(?!\p{L})" "abc<0>d</0> " # Negated look-ahead
63 ".(?!(\p{L}))" "abc<0>d</0> " # Negated look-ahead, no capture
64 # visible outside of look-ahead
65 "and(?=roid)" L "<0>and</0>roid"
66 "and(?=roid)" M "<r>and</r>roid"
67 "and(?=roid)" bM "<r><0>and</0></r>roid"
68
69 "and(?!roid)" L "<0>and</0>roix"
70 "and(?!roid)" L "android"
71
72 "and(?!roid)" M "<r><0>and</0></r>roid" # Opaque bounds
73 "and(?!roid)" bM "<r>and</r>roid"
74 "and(?!roid)" bM "<r><0>and</0></r>roix"
75
76 #
77 # Negated Lookahead, various regions and region transparency
78 #
79 "abc(?!def)" "<0>abc</0>xyz"
80 "abc(?!def)" "abcdef"
81 "abc(?!def)" "<r><0>abc</0></r>def"
82 "abc(?!def)" b "<r>abc</r>def"
83 "abc(?!def)" b "<r><0>abc</0></r>xyz"
84
85 #
86 # Anchoring Bounds
87 #
88 "^def$" "abc<r><0>def</0></r>ghi" # anchoring (default) bounds
89 "^def$" a "abc<r>def</r>ghi" # non-anchoring bounds
90 "^def" a "<r><0>def</0></r>ghi" # non-anchoring bounds
91 "def$" a "abc<r><0>def</0></r>" # non-anchoring bounds
92
93 "^.*$" m "<0>line 1</0>\n line 2"
94 "^.*$" m2 "line 1\n<0> line 2</0>"
95 "^.*$" m3 "line 1\n line 2"
96 "^.*$" m "li<r><0>ne </0></r>1\n line 2" # anchoring bounds
97 "^.*$" m2 "li<r>ne </r>1\n line 2" # anchoring bounds
98 "^.*$" am "li<r>ne </r>1\n line 2" # non-anchoring bounds
99 "^.*$" am "li\n<r><0>ne </0></r>\n1\n line 2" # non-anchoring bounds
100
101 #
102 # HitEnd and RequireEnd for new-lines just before end-of-input
103 #
104 "xyz$" yz "<0>xyz</0>\n"
105 "xyz$" yz "<0>xyz</0>\x{d}\x{a}"
106
107 "xyz$" myz "<0>xyz</0>" # multi-line mode
108 "xyz$" mYZ "<0>xyz</0>\n"
109 "xyz$" mYZ "<0>xyz</0>\r\n"
110 "xyz$" mYZ "<0>xyz</0>\x{85}abcd"
111
112 "xyz$" Yz "xyz\nx"
113 "xyz$" Yz "xyza"
114 "xyz$" yz "<0>xyz</0>"
115
116 #
117 # All Unicode line endings recognized.
118 # 0a, 0b, 0c, 0d, 0x85, 0x2028, 0x2029
119 # Multi-line and non-multiline mode take different paths, so repeated tests.
120 #
121 "^def$" mYZ "abc\x{a}<0>def</0>\x{a}ghi"
122 "^def$" mYZ "abc\x{b}<0>def</0>\x{b}ghi"
123 "^def$" mYZ "abc\x{c}<0>def</0>\x{c}ghi"
124 "^def$" mYZ "abc\x{d}<0>def</0>\x{d}ghi"
125 "^def$" mYZ "abc\x{85}<0>def</0>\x{85}ghi"
126 "^def$" mYZ "abc\x{2028}<0>def</0>\x{2028}ghi"
127 "^def$" mYZ "abc\x{2029}<0>def</0>\x{2029}ghi"
128 "^def$" mYZ "abc\r\n<0>def</0>\r\nghi"
129
130 "^def$" yz "<0>def</0>\x{a}"
131 "^def$" yz "<0>def</0>\x{b}"
132 "^def$" yz "<0>def</0>\x{c}"
133 "^def$" yz "<0>def</0>\x{d}"
134 "^def$" yz "<0>def</0>\x{85}"
135 "^def$" yz "<0>def</0>\x{2028}"
136 "^def$" yz "<0>def</0>\x{2029}"
137 "^def$" yz "<0>def</0>\r\n"
138 "^def$" yz "<0>def</0>"
139
140
141 "^def$" "<0>def</0>\x{2028" #TODO: should be an error of some sort.
142
143 #
144 # UNIX_LINES mode
145 #
146 "abc$" D "<0>abc</0>\n"
147 "abc$" D "abc\r"
148 "abc$" D "abc\u0085"
149 "a.b" D "<0>a\rb</0>"
150 "a.b" D "a\nb"
151 "(?d)abc$" "<0>abc</0>\n"
152 "(?d)abc$" "abc\r"
153 "abc$" mD "<0>abc</0>\ndef"
154 "abc$" mD "abc\rdef"
155
156 ".*def" L "abc\r def xyz" # Normal mode, LookingAt() stops at \r
157 ".*def" DL "<0>abc\r def</0> xyz" # Unix Lines mode, \r not line end.
158 ".*def" DL "abc\n def xyz"
159
160 "(?d)a.b" "a\nb"
161 "(?d)a.b" "<0>a\rb</0>"
162
163 "^abc" m "xyz\r<0>abc</0>"
164 "^abc" Dm "xyz\rabc"
165 "^abc" Dm "xyz\n<0>abc</0>"
166
167
168
169 # Capturing parens
170 ".(..)." "<0>a<1>bc</1>d</0>"
171 ".*\A( +hello)" "<0><1> hello</1></0>"
172 "(hello)|(goodbye)" "<0><1>hello</1></0>"
173 "(hello)|(goodbye)" "<0><2>goodbye</2></0>"
174 "abc( +( inner(X?) +) xyz)" "leading cruft <0>abc<1> <2> inner<3></3> </2> xyz</1></0> cruft"
175 "\s*([ixsmdt]*)([:letter:]*)" "<0> <1>d</1><2></2></0> "
176
177 # Non-capturing parens (?: stuff). Groups, but does not capture.
178 "(?:abc)*(tail)" "<0>abcabcabc<1>tail</1></0>"
179
180 # Non-greedy *? quantifier
181 ".*?(abc)" "<0> abx <1>abc</1></0> abc abc abc"
182 ".*(abc)" "<0> abx abc abc abc <1>abc</1></0>"
183
184 "((?:abc |xyz )*?)abc " "<0><1>xyz </1>abc </0>abc abc "
185 "((?:abc |xyz )*)abc " "<0><1>xyz abc abc </1>abc </0>"
186
187 # Non-greedy +? quantifier
188 "(a+?)(a*)" "<0><1>a</1><2>aaaaaaaaaaaa</2></0>"
189 "(a+)(a*)" "<0><1>aaaaaaaaaaaaa</1><2></2></0>"
190
191 "((ab)+?)((ab)*)" "<0><1><2>ab</2></1><3>ababababab<4>ab</4></3></0>"
192 "((ab)+)((ab)*)" "<0><1>abababababab<2>ab</2></1><3></3></0>"
193
194 # Non-greedy ?? quantifier
195 "(ab)(ab)??(ab)??(ab)??(ab)??c" "<0><1>ab</1><4>ab</4><5>ab</5>c</0>"
196
197 # Unicode Properties as naked elements in a pattern
198 "\p{Lu}+" "here we go ... <0>ABC</0> and no more."
199 "(\p{L}+)(\P{L}*?) (\p{Zs}*)" "7999<0><1>letters</1><2>4949%^&*(</2> <3> </3></0>"
200
201 # \w and \W
202 "\w+" " $%^&*( <0>hello123</0>%^&*("
203 "\W+" "<0> $%^&*( </0>hello123%^&*("
204
205 # \A match at beginning of input only.
206 ".*\Ahello" "<0>hello</0> hello"
207 ".*hello" "<0>hello hello</0>"
208 ".*\Ahello" "stuff\nhello" # don't match after embedded new-line.
209
210 # \b \B
211 #
212 ".*?\b(.).*" "<0> $%^&*( <1>h</1>ello123%^&*()gxx</0>"
213 "\ba\b" "-<0>a</0>"
214 "\by\b" "xy"
215
216 # Finds first chars of up to 5 words
217 "(?:.*?\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"
218
219 "H.*?((?:\B.)+)" "<0>H<1>ello</1></0> "
220 ".*?((?:\B.)+).*?((?:\B.)+).*?((?:\B.)+)" "<0>H<1>ello</1> <2> </2>g<3>oodbye</3></0> "
221
222 "(?:.*?\b(.))?(?:.*?\b(.))?(?:.*?\b(.))?(?:.*?\b(.))?(?:.*?\b(.))?.*" "<0> \u0301 \u0301<1>A</1>\u0302BC\u0303\u0304<2> </2>\u0305 \u0306<3>X</3>\u0307Y\u0308</0>"
223
224
225 #
226 # Unicode word boundary mode
227 #
228 "(?w).*?\b" v "<0></0>hello, world"
229 "(?w).*?(\b.+?\b).*" v "<0><1> </1> 123.45 </0>"
230 "(?w).*?(\b\d.*?\b).*" v "<0> <1>123.45</1> </0>"
231 ".*?(\b.+?\b).*" "<0> <1>123</1>.45 </0>"
232 "(?w:.*?(\b\d.*?\b).*)" v "<0> <1>123.45</1> </0>"
233 "(?w:.*?(\b.+?\b).*)" v "<0><1>don't</1> </0>"
234 "(?w:.+?(\b\S.+?\b).*)" v "<0> <1>don't</1> </0>"
235 "(?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>"
236
237 #
238 # Unicode word boundaries with Regions
239 #
240 "(?w).*?\b" v "abc<r><0>def</0></r>ghi"
241 "(?w).*?\b" v2 "abc<r>def<0></0></r>ghi"
242 "(?w).*?\b" v3 "abc<r>def</r>ghi"
243 #"(?w).*?\b" vb "abc<r><0>def</0></r>ghi" # TODO: bug. Ticket 6073
244 #"(?w).*?\b" vb2 "abc<r>def</r>ghi"
245
246
247
248 # . does not match new-lines
249 "." "\u000a\u000d\u0085\u000c\u000b\u2028\u2029<0>X</0>\u000aY"
250 "A." "A\u000a "# no match
251
252 # \d for decimal digits
253 "\d*" "<0>0123456789\u0660\u06F9\u0969\u0A66\u17E2\uFF10\U0001D7CE\U0001D7FF</0>non-digits"
254 "\D+" "<0>non digits</0>"
255 "\D*(\d*)(\D*)" "<0>non-digits<1>3456666</1><2>more non digits</2></0>"
256
257 # \Q...\E quote mode
258 "hel\Qlo, worl\Ed" "<0>hello, world</0>"
259 "\Q$*^^(*)?\A\E(a*)" "<0>$*^^(*)?\\A<1>aaaaaaaaaaaaaaa</1></0>"
260
261 # \S and \s space characters
262 "\s+" "not_space<0> \t \r \n \u3000 \u2004 \u2028 \u2029</0>xyz"
263 "(\S+).*?(\S+).*" "<0><1>Not-spaces</1> <2>more-non-spaces</2> </0>"
264
265 # \X consume one Grapheme Cluster.
266 "(\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>"
267 "(\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>"
268 "(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?" "<0><1>\u1100\u1161\u11a8</1><2>\u115f\u11a2\u11f9</2></0>"
269 "(\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>"
270 "(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?(\X)?" "<0><1>\u1100\u1101\uac02\u0301</1><2>\u1100</2></0>"
271
272 # ^ matches only at beginning of line
273 ".*^(Hello)" "<0><1>Hello</1></0> Hello Hello Hello Goodbye"
274 ".*(Hello)" "<0>Hello Hello Hello <1>Hello</1></0> Goodbye"
275 ".*^(Hello)" " Hello Hello Hello Hello Goodbye"# No Match
276
277 # $ matches only at end of line, or before a newline preceding the end of line
278 ".*?(Goodbye)$" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>"
279 ".*?(Goodbye)" ZY "<0>Hello <1>Goodbye</1></0> Goodbye Goodbye"
280 ".*?(Goodbye)$" z "Hello Goodbye> Goodbye Goodbye "# No Match
281
282 ".*?(Goodbye)$" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>\n"
283 ".*?(Goodbye)$" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>\n"
284 ".*?(Goodbye)$" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>\r\n"
285 ".*?(Goodbye)$" z "Hello Goodbye Goodbye Goodbye\n\n"# No Match
286
287 # \Z matches at end of input, like $ with default flags.
288 ".*?(Goodbye)\Z" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>"
289 ".*?(Goodbye)" ZY "<0>Hello <1>Goodbye</1></0> Goodbye Goodbye"
290 ".*?(Goodbye)\Z" z "Hello Goodbye> Goodbye Goodbye "# No Match
291 "here$" z "here\nthe end"# No Match
292
293 ".*?(Goodbye)\Z" "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>\n"
294 ".*?(Goodbye)\Z" "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>\n"
295 ".*?(Goodbye)\Z" "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>\r\n"
296 ".*?(Goodbye)\Z" "Hello Goodbye Goodbye Goodbye\n\n"# No Match
297
298 # \z matches only at the end of string.
299 # no special treatment of new lines.
300 # no dependencies on flag settings.
301 ".*?(Goodbye)\z" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1></0>"
302 ".*?(Goodbye)\z" z "Hello Goodbye Goodbye Goodbye "# No Match
303 "here$" z "here\nthe end"# No Match
304
305 ".*?(Goodbye)\z" z "Hello Goodbye Goodbye Goodbye\n"# No Match
306 ".*?(Goodbye)\n\z" zy "<0>Hello Goodbye Goodbye <1>Goodbye</1>\n</0>"
307 "abc\z|def" ZY "abc<0>def</0>"
308
309 # (?# comment) doesn't muck up pattern
310 "Hello (?# this is a comment) world" " <0>Hello world</0>..."
311
312 # Check some implementation corner cases base on the way literal strings are compiled.
313 "A" "<0>A</0>"
314 "AB" "<0>AB</0>ABABAB"
315 "AB+" "<0>ABBB</0>A"
316 "AB+" "<0>AB</0>ABAB"
317 "ABC+" "<0>ABC</0>ABC"
318 "ABC+" "<0>ABCCCC</0>ABC"
319 "(?:ABC)+" "<0>ABCABCABC</0>D"
320 "(?:ABC)DEF+" "<0>ABCDEFFF</0>D"
321 "AB\.C\eD\u0666E" "<0>AB.C\u001BD\u0666E</0>F"
322 "ab\Bde" "<0>abde</0>"
323
324 # loop breaking
325 "(a?)*" "<0><1></1></0>xyz"
326 "(a?)+" "<0><1></1></0>xyz"
327 "^(?:a?b?)*$" "a--"
328 "(x?)*xyz" "<0>xx<1></1>xyz</0>" # Sligthly wierd, but correct. The "last" time through (x?),
329 # it matches the empty string.
330
331 # Set expressions, basic operators and escapes work
332 #
333 "[\d]+" "<0>0123</0>abc/.,"
334 "[^\d]+" "0123<0>abc/.,</0>"
335 "[\D]+" "0123<0>abc/.,</0>"
336 "[^\D]+" "<0>0123</0>abc/.,"
337
338 "[\s]+" "<0> \t</0>abc/.,"
339 "[^\s]+" " \t<0>abc/.,</0>"
340 "[\S]+" " \t<0>abc/.,</0>"
341 "[^\S]+" "<0> \t</0>abc/.,"
342
343 "[\w]+" "<0>abc123</0> .,;"
344 "[^\w]+" "abc123<0> .,;</0>"
345 "[\W]+" "abc123<0> .,;</0>"
346 "[^\W]+" "<0>abc123</0> .,;"
347
348 "[\z]+" "abc<0>zzz</0>def" # \z has no special meaning
349 "[^\z]+" "<0>abc</0>zzzdef"
350 "[\^]+" "abc<0>^^</0>"
351 "[^\^]+" "<0>abc</0>^^"
352
353 "[\u0041c]+" "<0>AcAc</0>def"
354 "[\U00010002]+" "<0>\ud800\udc02</0>\U00010003"
355 "[^\U00010002]+" "<0>Hello</0>\x{10002}"
356 "[\x61b]+" "<0>abab</0>cde"
357 #"[\x6z]+" "\x06" #TODO: single hex digits should fail
358 "[\x{9}\x{75}\x{6d6}\x{6ba6}\x{6146B}\x{10ffe3}]+" "<0>\u0009\u0075\u06d6\u6ba6\U0006146B\U0010ffe3</0>abc"
359
360 "[\N{LATIN CAPITAL LETTER TONE SIX}ab\N{VARIATION SELECTOR-70} ]+" "x<0> \u0184\U000E0135 ab</0>c"
361 "[\N{LATIN SMALL LETTER C}-\N{LATIN SMALL LETTER F}]+" "ab<0>cdef</0>ghi"
362
363
364
365 #
366 # [set expressions], check the precedence of '-', '&', '--', '&&'
367 # '-' and '&', for compatibility with ICU UnicodeSet, have the same
368 # precedence as the implicit Union between adjacent items.
369 # '--' and '&&', for compatibility with Java, have lower precedence than
370 # the implicit Union operations. '--' and '&&' themselves
371 # have the same precedence, and group left to right.
372 #
373 "[[a-m]-[f-w]p]+" "<0>dep</0>fgwxyz"
374 "[^[a-m]-[f-w]p]+" "dep<0>fgwxyz</0>"
375
376 "[[a-m]--[f-w]p]+" "<0>de</0>pfgwxyz"
377 "[^[a-m]--[f-w]p]+" "de<0>pfgwxyz</0>"
378
379 "[[a-m]&[e-s]w]+" "<0>efmw</0>adnst"
380 "[^[a-m]&[e-s]w]+" "efmw<0>adnst</0>"
381
382 "[[a-m]&[e-s]]+" "<0>efm</0>adnst"
383
384
385
386 # {min,max} iteration qualifier
387 "A{3}BC" "<0>AAABC</0>"
388
389 "(ABC){2,3}AB" "no matchAB"
390 "(ABC){2,3}AB" "ABCAB"
391 "(ABC){2,3}AB" "<0>ABC<1>ABC</1>AB</0>"
392 "(ABC){2,3}AB" "<0>ABCABC<1>ABC</1>AB</0>"
393 "(ABC){2,3}AB" "<0>ABCABC<1>ABC</1>AB</0>CAB"
394
395 "(ABC){2}AB" "ABCAB"
396 "(ABC){2}AB" "<0>ABC<1>ABC</1>AB</0>"
397 "(ABC){2}AB" "<0>ABC<1>ABC</1>AB</0>CAB"
398 "(ABC){2}AB" "<0>ABC<1>ABC</1>AB</0>CABCAB"
399
400 "(ABC){2,}AB" "ABCAB"
401 "(ABC){2,}AB" "<0>ABC<1>ABC</1>AB</0>"
402 "(ABC){2,}AB" "<0>ABCABC<1>ABC</1>AB</0>"
403 "(ABC){2,}AB" "<0>ABCABCABC<1>ABC</1>AB</0>"
404
405 "X{0,0}ABC" "<0>ABC</0>"
406 "X{0,1}ABC" "<0>ABC</0>"
407
408 "(?:Hello(!{1,3}) there){1}" "Hello there"
409 "(?:Hello(!{1,3}) there){1}" "<0>Hello<1>!</1> there</0>"
410 "(?:Hello(!{1,3}) there){1}" "<0>Hello<1>!!</1> there</0>"
411 "(?:Hello(!{1,3}) there){1}" "<0>Hello<1>!!!</1> there</0>"
412 "(?:Hello(!{1,3}) there){1}" "Hello!!!! there"
413
414 # Nongreedy {min,max}? intervals
415 "(ABC){2,3}?AB" "no matchAB"
416 "(ABC){2,3}?AB" "ABCAB"
417 "(ABC){2,3}?AB" "<0>ABC<1>ABC</1>AB</0>"
418 "(ABC){2,3}?AB" "<0>ABC<1>ABC</1>AB</0>CAB"
419 "(ABC){2,3}?AB" "<0>ABC<1>ABC</1>AB</0>CABCAB"
420 "(ABC){2,3}?AX" "<0>ABCABC<1>ABC</1>AX</0>"
421 "(ABC){2,3}?AX" "ABC<0>ABCABC<1>ABC</1>AX</0>"
422
423 # Possessive {min,max}+ intervals
424 "(ABC){2,3}+ABC" "ABCABCABC"
425 "(ABC){1,2}+ABC" "<0>ABC<1>ABC</1>ABC</0>"
426 "(?:(.)\1){2,5}+." "<0>aabbcc<1>d</1>de</0>x"
427
428
429 # Atomic Grouping
430 "(?>.*)abc" "abcabcabc" # no match. .* consumed entire string.
431 "(?>(abc{2,4}?))(c*)" "<0><1>abcc</1><2>ccc</2></0>ddd"
432 "(\.\d\d(?>[1-9]?))\d+" "1.625"
433 "(\.\d\d(?>[1-9]?))\d+" "1<0><1>.625</1>0</0>"
434
435 # Possessive *+
436 "(abc)*+a" "abcabcabc"
437 "(abc)*+a" "<0>abc<1>abc</1>a</0>b"
438 "(a*b)*+a" "<0><1>aaaab</1>a</0>aaa"
439
440 # Possessive ?+
441 "c?+ddd" "<0>cddd</0>"
442 "c?+cddd" "cddd"
443 "c?cddd" "<0>cddd</0>"
444
445 # Back Reference
446 "(?:ab(..)cd\1)*" "<0>ab23cd23ab<1>ww</1>cdww</0>abxxcdyy"
447 "ab(?:c|(d?))(\1)" "<0>ab<1><2></2></1></0>c"
448 "ab(?:c|(d?))(\1)" "<0>ab<1>d</1><2>d</2></0>"
449 "ab(?:c|(d?))(\1)" "<0>ab<1></1><2></2></0>e"
450 "ab(?:c|(d?))(\1)" "<0>ab<1></1><2></2></0>"
451
452 # Case Insensitive
453 "aBc" i "<0>ABC</0>"
454 "a[^bc]d" i "ABD"
455 '((((((((((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>"
456
457 "(?:(?i)a)b" "<0>Ab</0>"
458 "ab(?i)cd" "<0>abCd</0>"
459 "ab$cd" "abcd"
460
461 # White space handling
462 "a b" "ab"
463 "abc " "abc"
464 "abc " "<0>abc </0>"
465 "ab[cd e]z" "<0>ab z</0>"
466 "ab\ c" "<0>ab c</0> "
467 "ab c" "<0>ab c</0> "
468 "ab c" x "ab c "
469 "ab\ c" x "<0>ab c</0> "
470
471 #
472 # Pattern Flags
473 #
474 "(?u)abc" "<0>abc</0>"
475 "(?-u)abc" "<0>abc</0>"
476
477 #
478 # \c escapes (Control-whatever)
479 #
480 "\cA" "<0>\u0001</0>"
481 "\ca" "<0>\u0001</0>"
482 "\c\x" "<0>\u001cx</0>"
483
484
485 #Multi-line mode
486 'b\s^' m "a\nb\n"
487 "(?m)^abc$" "abc \n abc\n<0>abc</0>\nabc"
488 "(?m)^abc$" 2 "abc \n abc\nabc\n<0>abc</0>"
489 "^abc$" 2 "abc \n abc\nabc\nabc"
490
491 # Empty and full range
492 "[\u0000-\U0010ffff]+" "<0>abc\u0000\uffff\U00010000\U0010ffffzz</0>"
493 "[^\u0000-\U0010ffff]" "abc\u0000\uffff\U00010000\U0010ffffzz"
494 "[^a--a]+" "<0>abc\u0000\uffff\U00010000\U0010ffffzz</0>"
495
496 # Free-spacing mode
497 "a b c # this is a comment" x "<0>abc</0> "
498 '^a (?#xxx) (?#yyy) {3}c' x "<0>aaac</0>"
499 "a b c [x y z]" x "abc "
500 "a b c [x y z]" x "a b c "
501 "a b c [x y z]" x "<0>abcx</0>yz"
502 "a b c [x y z]" x "<0>abcy</0>yz"
503
504 #
505 # Look Behind
506 #
507 "(?<=a)b" "a<0>b</0>"
508 "(.*)(?<=[bc])" "<0><1>abc</1></0>d"
509 "(?<=(abc))def" "<1>abc</1><0>def</0>" # lookbehind precedes main match.
510 "(?<=ab|abc)xyz" "abwxyz" # ab matches, but not far enough.
511 "(?<=abc)cde" "abcde"
512 "(?<=abc|ab)cde" "ab<0>cde</0>"
513 "(?<=abc|ab)cde" "abc<0>cde</0>"
514
515 "(?<=bc?c?c?)cd" "ab<0>cd</0>"
516 "(?<=bc?c?c?)cd" "abc<0>cd</0>"
517 "(?<=bc?c?c?)cd" "abcc<0>cd</0>"
518 "(?<=bc?c?c?)cd" "abccc<0>cd</0>"
519 "(?<=bc?c?c?)cd" "abcccccd"
520 "(?<=bc?c?c?)c+d" "ab<0>cccccd</0>"
521
522 ".*(?<=: ?)(\w*)" "<0>1:one 2: two 3:<1>three</1></0> "
523
524 #
525 # Named Characters
526 #
527 "a\N{LATIN SMALL LETTER B}c" "<0>abc</0>"
528 "a\N{LATIN SMALL LETTER B}c" i "<0>abc</0>"
529 "a\N{LATIN SMALL LETTER B}c" i "<0>aBc</0>"
530 "a\N{LATIN SMALL LETTER B}c" "aBc"
531
532 "\N{FULL STOP}*" "<0>...</0>abc"
533
534 "$" "abc<0></0>"
535
536 #
537 # Optimizations of .* at end of patterns
538 #
539 "abc.*" "<0>abcdef</0>"
540 "abc.*$" "<0>abcdef</0>"
541 "abc(.*)" "<0>abc<1>def</1></0>"
542 "abc(.*)" "<0>abc<1></1></0>"
543 "abc.*" "<0>abc</0>\ndef"
544 "abc.*" s "<0>abc\ndef</0>"
545 "abc.*$" s "<0>abc\ndef</0>"
546 "abc.*$" "abc\ndef"
547 "abc.*$" m "<0>abc</0>\ndef"
548 "abc.*\Z" m "abc\ndef"
549 "abc.*\Z" sm "<0>abc\ndef</0>"
550
551 "abc*" "<0>abccc</0>d"
552 "abc*$" "<0>abccc</0>"
553 "ab(?:ab[xyz]\s)*" "<0>ababy abx </0>abc"
554
555 "(?:(abc)|a)(?:bc)+" "<0>abc</0>"
556 "(?:(abc)|a)(?:bc)*" "<0><1>abc</1></0>"
557 "^[+\-]?[0-9]*\.?[0-9]*" "<0>123.456</0>"
558
559 "ab.+yz" "<0>abc12345xyz</0>ttt"
560 "ab.+yz" s "<0>abc12345xyz</0>ttt"
561
562 "ab.+yz" "abc123\n45xyzttt"
563 "ab.+yz" s "<0>abc12\n345xyz</0>ttt"
564
565 "ab[0-9]+yz" "---abyz+++"
566 "ab[0-9]+yz" "---<0>ab1yz</0>+++"
567 "ab[0-9]+yz" "---<0>ab12yz</0>+++"
568 "ab[0-9]+yz" "---<0>ab123456yz</0>+++"
569
570 "ab([0-9]+|[A-Z]+)yz" "---abyz+++"
571 "ab([0-9]+|[A-Z]+)yz" "---<0>ab<1>1</1>yz</0>+++"
572 "ab([0-9]+|[A-Z]+)yz" "---<0>ab<1>12</1>yz</0>+++"
573 "ab([0-9]+|[A-Z]+)yz" "---<0>ab<1>A</1>yz</0>+++"
574 "ab([0-9]+|[A-Z]+)yz" "---<0>ab<1>AB</1>yz</0>+++"
575 "ab([0-9]+|[A-Z]+)yz" "---<0>ab<1>ABCDE</1>yz</0>+++"
576
577 #
578 # Hex format \x escaping
579 #
580 "ab\x63" "<0>abc</0>"
581 "ab\x09w" "<0>ab\u0009w</0>"
582 "ab\xabcdc" "<0>ab\u00abcdc</0>"
583 "ab\x{abcd}c" "<0>ab\uabcdc</0>"
584 "ab\x{101234}c" "<0>ab\U00101234c</0>"
585 "abα" "<0>abα</0>"
586
587 #
588 # Octal Escaping. This conforms to Java conventions, not Perl.
589 "\0101\00\03\073\0154\01442" "<0>A\u0000\u0003\u003b\u006c\u0064\u0032</0>"
590 "\0776" "<0>\u003f\u0036</0>" # overflow, the 6 is literal.
591 "\0376xyz" "<0>\u00fexyz</0>"
592 "\08" E "<0>\u00008</0>"
593 "\0" E "x"
594
595 #
596 # \u Surrogate Pairs
597 #
598 "\ud800\udc00" "<0>\U00010000</0>"
599 "\ud800\udc00*" "<0>\U00010000\U00010000\U00010000</0>\U00010001"
600 "\ud800\ud800\udc00" "<0>\ud800\U00010000</0>\U00010000\U00010000\U00010001"
601 "(\ud800)(\udc00)" "\U00010000"
602
603 #
604 # hitEnd with find()
605 #
606 "abc" Z "aa<0>abc</0> abcab"
607 "abc" 2Z "aaabc <0>abc</0>ab"
608 "abc" 3z "aa>abc abcab"
609
610 #
611 # Bug xxxx
612 #
613 "(?:\-|(\-?\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>"
614
615
616 #
617 # A random, complex, meaningless pattern that should at least compile
618 #
619 "(?![^\<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"
620
621
622 #
623 # Bug 3225
624
625 "1|9" "<0>1</0>"
626 "1|9" "<0>9</0>"
627 "1*|9" "<0>1</0>"
628 "1*|9" "<0></0>9"
629
630 "(?:a|ac)d" "<0>acd</0>"
631 "a|ac" "<0>a</0>c"
632
633 #
634 # Bug 3320
635 #
636 "(a([^ ]+)){0,} (c)" "<0><1>a<2>b</2></1> <3>c</3></0> "
637 "(a([^ ]+))* (c)" "<0><1>a<2>b</2></1> <3>c</3></0> "
638
639 #
640 # Bug 3436
641 #
642 "(.*?) *$" "<0><1>test</1> </0>"
643
644 #
645 # Bug 4034
646 #
647 "\D" "<0>A</0>BC\u00ffDEF"
648 "\d" "ABC\u00ffDEF"
649 "\D" "<0>\u00ff</0>DEF"
650 "\d" "\u00ffDEF"
651 "\D" "123<0>\u00ff</0>DEF"
652 "\D" "<0>\u0100</0>DEF"
653 "\D" "123<0>\u0100</0>DEF"
654
655 #
656 #bug 4024, new line sequence handling
657 #
658 "(?m)^" "<0></0>AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
659 "(?m)^" 2 "AA\u000d\u000a<0></0>BB\u000d\u000aCC\u000d\u000a"
660 "(?m)^" 3 "AA\u000d\u000aBB\u000d\u000a<0></0>CC\u000d\u000a"
661 "(?m)^" 4 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
662
663 "(?m)$" "AA<0></0>\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
664 "(?m)$" 2 "AA\u000d\u000aBB<0></0>\u000d\u000aCC\u000d\u000a"
665 "(?m)$" 3 "AA\u000d\u000aBB\u000d\u000aCC<0></0>\u000d\u000a"
666 "(?m)$" 4 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a<0></0>"
667 "(?m)$" 5 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
668
669 "$" "AA\u000d\u000aBB\u000d\u000aCC<0></0>\u000d\u000a"
670 "$" 2 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a<0></0>"
671 "$" 3 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
672
673 "$" "\u000a\u0000a<0></0>\u000a"
674 "$" 2 "\u000a\u0000a\u000a<0></0>"
675 "$" 3 "\u000a\u0000a\u000a"
676
677 "$" "<0></0>"
678 "$" 2 ""
679
680 "$" "<0></0>\u000a"
681 "$" 2 "\u000a<0></0>"
682 "$" 3 "\u000a"
683
684 "^" "<0></0>"
685 "^" 2 ""
686
687 "\Z" "<0></0>"
688 "\Z" 2 ""
689 "\Z" 2 "\u000a<0></0>"
690 "\Z" "<0></0>\u000d\u000a"
691 "\Z" 2 "\u000d\u000a<0></0>"
692
693
694 # No matching ^ at interior new-lines if not in multi-line mode.
695 "^" "<0></0>AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
696 "^" 2 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
697
698 #
699 # Dot-matches-any mode, and stopping at new-lines if off.
700 #
701 "." "<0>1</0>23\u000aXYZ"
702 "." 2 "1<0>2</0>3\u000aXYZ"
703 "." 3 "12<0>3</0>\u000aXYZ"
704 "." 4 "123\u000a<0>X</0>YZ" # . doesn't match newlines
705 "." 4 "123\u000b<0>X</0>YZ"
706 "." 4 "123\u000c<0>X</0>YZ"
707 "." 4 "123\u000d<0>X</0>YZ"
708 "." 4 "123\u000d\u000a<0>X</0>YZ"
709 "." 4 "123\u0085<0>X</0>YZ"
710 "." 4 "123\u2028<0>X</0>YZ"
711 "." 4 "123\u2029<0>X</0>YZ"
712 "." 4s "123<0>\u000a</0>XYZ" # . matches any
713 "." 4s "123<0>\u000b</0>XYZ"
714 "." 4s "123<0>\u000c</0>XYZ"
715 "." 4s "123<0>\u000d</0>XYZ"
716 "." 4s "123<0>\u000d\u000a</0>XYZ"
717 "." 4s "123<0>\u0085</0>XYZ"
718 "." 4s "123<0>\u2028</0>XYZ"
719 "." 4s "123<0>\u2029</0>XYZ"
720 ".{6}" "123\u000a\u000dXYZ"
721 ".{6}" s "<0>123\u000a\u000dX</0>Y"
722
723
724 #
725 # Ranges
726 #
727 ".*" "abc<r><0>def</0></r>ghi"
728 "a" "aaa<r><0>a</0>aa</r>aaa"
729 "a" 2 "aaa<r>a<0>a</0>a</r>aaa"
730 "a" 3 "aaa<r>aa<0>a</0></r>aaa"
731 "a" 4 "aaa<r>aaa</r>aaa"
732 "a" "aaa<r><0>a</0>aa</r>aaa"
733
734 #
735 # [set] parsing, systematically run through all of the parser states.
736 #
737 #
738 "[def]+" "abc<0>ddeeff</0>ghi" # set-open
739 "[^def]+" "<0>abc</0>defghi"
740 "[:digit:]+" "abc<0>123</0>def"
741 "[:^digit:]+" "<0>abc</0>123def"
742 "[\u005edef]+" "abc<0>de^f</0>ghi"
743
744 "[]]+" "abc<0>]]]</0>[def" # set-open2
745 "[^]]+" "<0>abc</0>]]][def"
746
747 "[:Lu:]+" "abc<0>ABC</0>def" # set-posix
748 "[:Lu]+" "abc<0>uL::Lu</0>"
749 "[:^Lu]+" "abc<0>uL:^:Lu</0>"
750 "[:]+" "abc<0>:::</0>def"
751 "[:whats this:]" E " "
752 "[--]+" dE "-------"
753
754 "[[nested]]+" "xyz[<0>nnetsteed</0>]abc" #set-start
755 "[\x{41}]+" "CB<0>AA</0>ZYX"
756 "[\[\]\\]+" "&*<0>[]\\</0>..."
757 "[*({<]+" "^&<0>{{(<<*</0>)))"
758
759
760 "[-def]+" "abc<0>def-ef-d</0>xyz" # set-start-dash
761 "[abc[--def]]" E " "
762
763 "[x[&def]]+" "abc<0>def&</0>ghi" # set-start-amp
764 "[&& is bad at start]" E " "
765
766 "[abc" E " " # set-after-lit
767 "[def]]" "abcdef"
768 "[def]]" "abcde<0>f]</0>]"
769
770 "[[def][ghi]]+" "abc]<0>defghi</0>[xyz" # set-after-set
771 "[[def]ghi]+" "abc]<0>defghi</0>[xyz"
772 "[[[[[[[[[[[abc]" E " "
773 "[[abc]\p{Lu}]+" "def<0>abcABC</0>xyz"
774
775 "[d-f]+" "abc<0>def</0>ghi" # set-after-range
776 "[d-f[x-z]]+" "abc<0>defxyzzz</0>gw"
777 "[\s\d]+" "abc<0> 123</0>def"
778 "[d-f\d]+" "abc<0>def123</0>ghi"
779 "[d-fr-t]+" "abc<0>defrst</0>uvw"
780
781 "[abc--]" E " " # set-after-op
782 "[[def]&&]" E " "
783 "[-abcd---]+" "<0>abc</0>--" #[-abcd]--[-]
784 "[&abcd&&&ac]+" "b<0>ac&&ca</0>d" #[&abcd]&&[&ac]
785
786 "[[abcd]&[ac]]+" "b<0>acac</0>d" # set-set-amp
787 "[[abcd]&&[ac]]+" "b<0>acac</0>d"
788 "[[abcd]&&ac]+" "b<0>acac</0>d"
789 "[[abcd]&ac]+" "<0>bacacd&&&</0>"
790
791 "[abcd&[ac]]+" "<0>bacacd&&&</0>" #set-lit-amp
792 "[abcd&&[ac]]+" "b<0>acac</0>d"
793 "[abcd&&ac]+" "b<0>acac</0>d"
794
795 "[[abcd]-[ac]]+" "a<0>bdbd</0>c" # set-set-dash
796 "[[abcd]--[ac]]+" "a<0>bdbd</0>c"
797 "[[abcd]--ac]+" "a<0>bdbd</0>c"
798 "[[abcd]-ac]+" "<0>bacacd---</0>"
799
800 "[a-d--[b-c]]+" "b<0>adad</0>c" # set-range-dash
801 "[a-d--b-c]+" "b<0>adad</0>c"
802 "[a-d-[b-c]]+" "<0>bad-adc</0>"
803 "[a-d-b-c]+" "<0>bad-adc</0>"
804 "[\w--[b-c]]+" "b<0>adad</0>c"
805 "[\w--b-c]+" "b<0>adad</0>c"
806 "[\w-[b-c]]+" "<0>bad-adc</0>"
807 "[\w-b-c]+" "<0>bad-adc</0>"
808
809 "[a-d&&[b-c]]+" "a<0>bcbc</0>d" # set-range-amp
810 "[a-d&&b-c]+" "a<0>bcbc</0>d"
811 "[a-d&[b-c]]+" "<0>abc&bcd</0>"
812 "[a-d&b-c]+" "<0>abc&bcd</0>"
813
814 "[abcd--bc]+" "b<0>adda</0>c" # set-lit-dash
815 "[abcd--[bc]]+" "b<0>adda</0>c"
816 "[abcd-[bc]]+" "<0>bad--dac</0>xyz"
817 "[abcd-]+" "<0>bad--dac</0>xyz"
818
819 "[abcd-\s]+" E "xyz<0>abcd --</0>xyz" # set-lit-dash-esc
820 "[abcd-\N{LATIN SMALL LETTER G}]+" "xyz-<0>abcdefg</0>hij-"
821 "[bcd-\{]+" "a<0>bcdefyz{</0>|}"
822
823 "[\p{Ll}]+" "ABC<0>abc</0>^&*&" # set-escape
824 "[\P{Ll}]+" "abc<0>ABC^&*&</0>xyz"
825 "[\N{LATIN SMALL LETTER Q}]+" "mnop<0>qqq</0>rst"
826 "[\sa]+" "cb<0>a a </0>(*&"
827 "[\S]+" " <0>hello</0> "
828 "[\w]+" " <0>hello_world</0>! "
829 "[\W]+" "a<0> *$%#,</0>hello "
830 "[\d]+" "abc<0>123</0>def"
831 "[\D]+" "123<0>abc</0>567"
832 "[\$\#]+" "123<0>$#$#</0>\\"
833
834 #
835 # Try each of the Java compatibility properties.
836 # These are checked here, while normal Unicode properties aren't, because
837 # these Java compatibility properties are implemented directly by regexp, while other
838 # properties are handled by ICU's Property and UnicodeSet APIs.
839 #
840 # These tests are only to verify that the names are recognized and the
841 # implementation isn't dead. They are not intended to verify that the
842 # function defintions are 100% correct.
843 #
844 "[:InBasic Latin:]+" "ΓΔΕΖΗΘ<0>hello, world.</0>ニヌネノハバパ"
845 "[:^InBasic Latin:]+" "<0>ΓΔΕΖΗΘ</0>hello, world.ニヌネノハバパ"
846 "\p{InBasicLatin}+" "ΓΔΕΖΗΘ<0>hello, world.</0>ニヌネノハバパ"
847 "\P{InBasicLatin}+" "<0>ΓΔΕΖΗΘ</0>hello, world.ニヌネノハバパ"
848 "\p{InGreek}+" "<0>ΓΔΕΖΗΘ</0>hello, world.ニヌネノハバパ"
849 "\p{InCombining Marks for Symbols}" "<0>\u20d0</0>"
850 "\p{Incombiningmarksforsymbols}" "<0>\u20d0</0>"
851
852
853 "\p{javaDefined}+" "\uffff<0>abcd</0>\U00045678"
854 "\p{javaDigit}+" "abc<0>1234</0>xyz"
855 "\p{javaIdentifierIgnorable}+" "abc<0>\u0000\u000e\u009f</0>xyz"
856 "\p{javaISOControl}+" "abc<0>\u0000\u000d\u0083</0>xyz"
857 "\p{javaJavaIdentifierPart}+" "#@!<0>abc123_$</0>;"
858 "\p{javaJavaIdentifierStart}+" "123\u0301<0>abc$_</0>%^&"
859 "\p{javaLetter}+" "123<0>abcDEF</0>&*()("
860 "\p{javaLetterOrDigit}+" "$%^&*<0>123abcகஙசஜஞ</0>☺♘♚☔☎♬⚄⚡"
861 "\p{javaLowerCase}+" "ABC<0>def</0>&^%#:="
862 "\p{javaMirrored}+" "ab$%<0>(){}[]</0>xyz"
863 "\p{javaSpaceChar}+" "abc<0> \u00ao\u2028</0>!@#"
864 "\p{javaSupplementaryCodePoint}+" "abc\uffff<0>\U00010000\U0010ffff</0>\u0000"
865 "\p{javaTitleCase}+" "abCE<0>Džῌᾨ</0>123"
866 "\p{javaUnicodeIdentifierStart}+" "123<0>abcⅣ</0>%^&&*"
867 "\p{javaUnicodeIdentifierPart}+" "%&&^<0>abc123\u0301\u0002</0>..."
868 "\p{javaUpperCase}+" "abc<0>ABC</0>123"
869 "\p{javaValidCodePoint}+" "<0>\u0000abc\ud800 unpaired \udfff |\U0010ffff</0>"
870 "\p{javaWhitespace}+" "abc\u00a0\u2007\u202f<0> \u0009\u001c\u001f\u2028</0>42"
871 "\p{all}+" "<0>123\u0000\U0010ffff</0>"
872 "\P{all}+" "123\u0000\U0010ffff"
873
874 #
875 # Errors on unrecognized ASCII letter escape sequences.
876 #
877 "[abc\Y]+" "<0>abcY</0>"
878 "[abc\Y]+" eE "<0>abcY</0>"
879
880 "(?:a|b|c|\Y)+" "<0>abcY</0>"
881 "(?:a|b|c|\Y)+" eE "<0>abcY</0>"
882
883 "\Q\Y\E" e "<0>\\Y</0>"
884
885 #
886 # Reported problem
887 #
888 "[a-\w]" E "x"
889
890 #
891 # Bug 4045
892 #
893 "A*" "<0>AAAA</0>"
894 "A*" 2 "AAAA<0></0>"
895 "A*" 3 "AAAA"
896 "A*" 4 "AAAA"
897 "A*" 5 "AAAA"
898 "A*" 6 "AAAA"
899 "A*" "<0></0>"
900 "A*" 2 ""
901 "A*" 3 ""
902 "A*" 4 ""
903 "A*" 5 ""
904
905 #
906 # Bug 4046
907 #
908 "(?m)^" "<0></0>AA\u000dBB\u000dCC\u000d"
909 "(?m)^" 2 "AA\u000d<0></0>BB\u000dCC\u000d"
910 "(?m)^" 3 "AA\u000dBB\u000d<0></0>CC\u000d"
911 "(?m)^" 4 "AA\u000dBB\u000dCC\u000d"
912 "(?m)^" 5 "AA\u000dBB\u000dCC\u000d"
913 "(?m)^" 6 "AA\u000dBB\u000dCC\u000d"
914
915 "(?m)^" "<0></0>AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
916 "(?m)^" 2 "AA\u000d\u000a<0></0>BB\u000d\u000aCC\u000d\u000a"
917 "(?m)^" 3 "AA\u000d\u000aBB\u000d\u000a<0></0>CC\u000d\u000a"
918 "(?m)^" 4 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
919
920 #
921 # Bug 4059
922 #
923 "\w+" "<0>イチロー</0>"
924 "\b....\b." "<0>イチロー?</0>"
925
926
927 #
928 # Bug 4058 ICU Unicode Set patterns have an odd feature -
929 # A $ as the last character before the close bracket means match
930 # a \uffff, which means off the end of the string in transliterators.
931 # Didn't make sense for regular expressions, and is now fixed.
932 #
933 "[\$](P|C|D);" "<0>$<1>P</1>;</0>"
934 "[$](P|C|D);" "<0>$<1>P</1>;</0>"
935 "[$$](P|C|D);" "<0>$<1>P</1>;</0>"
936
937 #
938 # bug 4888 Flag settings lost in some cases.
939 #
940 "((a){2})|(#)" is "no"
941 "((a){2})|(#)" is "<0><1>a<2>a</2></1></0>#"
942 "((a){2})|(#)" is "a<0><3>#</3></0>"
943
944 "((a|b){2})|c" is "<0>c</0>"
945 "((a|b){2})|c" is "<0>C</0>"
946 "((a|b){2})|c" s "C"
947
948 #
949 # bug 5617 ZWJ \u200d shoudn't cause word boundaries
950 #
951 ".+?\b" "<0> </0>\u0935\u0915\u094D\u200D\u0924\u0947 "
952 ".+?\b" 2 " <0>\u0935\u0915\u094D\u200D\u0924\u0947</0> "
953 ".+?\b" 3 " \u0935\u0915\u094D\u200D\u0924\u0947 "
954
955 #
956 # bug 5386 "^.*$" should match empty input
957 #
958 "^.*$" "<0></0>"
959 "^.*$" m "<0></0>"
960 "^.*$" "<0></0>\n"
961 "(?s)^.*$" "<0>\n</0>"
962
963 #
964 # bug 5386 Empty pattern and empty input should match.
965 #
966 "" "<0></0>abc"
967 "" "<0></0>"
968
969 #
970 # bug 5386 Range upper and lower bounds can be equal
971 #
972 "[a-a]" "<0>a</0>"
973
974 #
975 # bug 5386 $* should not fail, should match empty string.
976 #
977 "$*" "<0></0>abc"
978
979 #
980 # bug 5386 \Q ... \E escaping problem
981 #
982 "[a-z\Q-$\E]+" "QE<0>abc-def$</0>."
983
984 # More reported 5386 Java comaptibility failures
985 #
986 "[^]*abb]*" "<0>kkkk</0>"
987 "\xa" "huh" # Java would like to be warned.
988 "^.*$" "<0></0>"
989
990 #
991 # bug 5386 Empty left alternation should produce a zero length match.
992 #
993 "|a" "<0></0>a"
994 "$|ab" "<0>ab</0>"
995 "$|ba" "ab<0></0>"
996
997 #
998 # bug 5386 Java compatibility for set expressions
999 #
1000 "[a-z&&[cde]]+" "ab<0>cde</0>fg"
1001
1002 #
1003 # bug 6019 matches() needs to backtrack and check for a longer match if the
1004 # first match(es) found don't match the entire input.
1005 #
1006 "a?|b" "<0></0>b"
1007 "a?|b" M "<0>b</0>"
1008 "a?|.*?u|stuff|d" M "<0>stuff</0>"
1009 "a?|.*?(u)|stuff|d" M "<0>stuff<1>u</1></0>"
1010 "a+?" "<0>a</0>aaaaaaaaaaaa"
1011 "a+?" M "<0>aaaaaaaaaaaaa</0>"
1012
1013 #
1014 # Random debugging, Temporary
1015 #
1016 #"^(?:a?b?)*$" "a--"
1017 "^(?:a?b?)*$" "a--"
1018
1019 "This is a string with (?:one |two |three )endings" "<0>This is a string with two endings</0>"
1020 "((?:a|b|c)whoop-dee-do) | [jkl]|zed" "x"
1021 "astring|another[bcd]|alpha|a|[a]" "x"
1022
1023
1024 #
1025 # Regexps from http://www.regexlib.com
1026 #
1027 "^[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>"
1028 "^[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>"
1029 "^[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>"
1030 "^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$" "G111 1AA"
1031 "^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$" "X10 WW"
1032 "^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$" "DDD 5WW"
1033 #"^[\w\-]+(?:\.[\w\-]+)*@(?:[\w\-]+\.)+[a-zA-Z]{2,7}$" dG "<0>joe.tillis@unit.army.mil</0>" # TODO: \w in pattern
1034 #"^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$" G "<0>jack_rabbit@slims.com</0>" # TODO: \w in pattern
1035 #"^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$" G "<0>foo99@foo.co.uk</0>" # TODO: \w in pattern
1036 #"^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$" "find_the_mistake.@foo.org" # TODO: \w in pattern
1037 #"^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$" ".prefix.@some.net"
1038 "^([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>"
1039 "^([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>"
1040 "^([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>"
1041 "^([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"
1042 "^([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"
1043 "^([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"
1044 "^\d{1,2}\/\d{1,2}\/\d{4}$" G "<0>4/1/2001</0>"
1045 "^\d{1,2}\/\d{1,2}\/\d{4}$" G "<0>12/12/2001</0>"
1046 "^\d{1,2}\/\d{1,2}\/\d{4}$" G "<0>55/5/3434</0>"
1047 "^\d{1,2}\/\d{1,2}\/\d{4}$" "1/1/01"
1048 "^\d{1,2}\/\d{1,2}\/\d{4}$" "12 Jan 01"
1049 "^\d{1,2}\/\d{1,2}\/\d{4}$" "1-1-2001"
1050 "^(?:(?:(?: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>"
1051 "^(?:(?:(?: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>"
1052 "^(?:(?:(?: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>"
1053 "^(?:(?:(?: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"
1054 "^(?:(?:(?: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"
1055 "^(?:(?:(?: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"
1056 "^(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>"
1057 "^(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>"
1058 "^(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>"
1059 "^(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"
1060 "^(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"
1061 "^(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"
1062 "(AUX|PRN|NUL|COM\d|LPT\d)+\s*$" G "<0>COM1</0>"
1063 "(AUX|PRN|NUL|COM\d|LPT\d)+\s*$" G "<0>AUX</0>"
1064 "(AUX|PRN|NUL|COM\d|LPT\d)+\s*$" G "<0>LPT1</0>"
1065 "(AUX|PRN|NUL|COM\d|LPT\d)+\s*$" "image.jpg"
1066 "(AUX|PRN|NUL|COM\d|LPT\d)+\s*$" "index.html"
1067 "(AUX|PRN|NUL|COM\d|LPT\d)+\s*$" "readme.txt"
1068 "^(?:(?: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>"
1069 "^(?:(?: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>"
1070 "^(?:(?: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>"
1071 "^(?:(?: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"
1072 "^(?:(?: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"
1073 "^(?:(?: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"
1074 "^(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>"
1075 "^(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>"
1076 "^(user=([a-z0-9]+,)*(([a-z0-9]+){1});)?(group=([a-z0-9]+,)*(([a-z0-9]+){1});)?(level=[0-9]+;)?$" "user=foo"
1077 "^(user=([a-z0-9]+,)*(([a-z0-9]+){1});)?(group=([a-z0-9]+,)*(([a-z0-9]+){1});)?(level=[0-9]+;)?$" "blahh"
1078 "^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$" G "<0>(+44)(0)20-12341234</0>"
1079 "^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$" G "<0>02012341234</0>"
1080 "^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$" G "<0>+44 (0) 1234-1234</0>"
1081 "^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$" "(44+)020-12341234"
1082 "^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$" "12341234(+020)"
1083 "\b(\w+)\s+\1\b" G "<0>Tell the the preacher</0>"
1084 "\b(\w+)\s+\1\b" G "<0>some some</0>"
1085 "\b(\w+)\s+\1\b" G "<0>hubba hubba</0>"
1086 "\b(\w+)\s+\1\b" "once an annual report"
1087 "\b(\w+)\s+\1\b" "mandate dated submissions"
1088 "\b(\w+)\s+\1\b" "Hubba hubba"
1089 "(^\+[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>"
1090 "(^\+[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>"
1091 "(^\+[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>"
1092 "(^\+[0-9]{2}|^\+[0-9]{2}\(0\)|^\(\+[0-9]{2}\)\(0\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\-\s]{10}$)" "+3123525667788999"
1093 "(^\+[0-9]{2}|^\+[0-9]{2}\(0\)|^\(\+[0-9]{2}\)\(0\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\-\s]{10}$)" "3123525667788"
1094 "(^\+[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"
1095 "^[-+]?\d*\.?\d*$" G "<0>123</0>"
1096 "^[-+]?\d*\.?\d*$" G "<0>+3.14159</0>"
1097 "^[-+]?\d*\.?\d*$" G "<0>-3.14159</0>"
1098 "^[-+]?\d*\.?\d*$" "abc"
1099 "^[-+]?\d*\.?\d*$" "3.4.5"
1100 "^[-+]?\d*\.?\d*$" "$99.95"
1101 "^\$?([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>"
1102 "^\$?([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>"
1103 "^\$?([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>"
1104 "^\$?([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"
1105 "^\$?([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"
1106 "^[A-Z]{2}[0-9]{6}[A-DFM]{1}$" G "<0>AB123456D</0>"
1107 "^[A-Z]{2}[0-9]{6}[A-DFM]{1}$" G "<0>AB123456F</0>"
1108 "^[A-Z]{2}[0-9]{6}[A-DFM]{1}$" G "<0>AB123456M</0>"
1109 "^[A-Z]{2}[0-9]{6}[A-DFM]{1}$" "AB123456E"
1110 "^[A-Z]{2}[0-9]{6}[A-DFM]{1}$" "ab123456d"
1111 #"(http|ftp|https):\/\/[\w]+(.[\w]+)([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?" G "<0>http://regxlib.com/Default.aspx</0>" # TODO: \w in pattern
1112 #"(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
1113 #"(http|ftp|https):\/\/[\w]+(.[\w]+)([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?" "www.yahoo.com" # TODO: \w in pattern
1114 "^[0-9]{4}\s{0,1}[a-zA-Z]{2}$" G "<0>2034AK</0>"
1115 "^[0-9]{4}\s{0,1}[a-zA-Z]{2}$" G "<0>2034 AK</0>"
1116 "^[0-9]{4}\s{0,1}[a-zA-Z]{2}$" G "<0>2034 ak</0>"
1117 "^[0-9]{4}\s{0,1}[a-zA-Z]{2}$" "2034 AK"
1118 "^[0-9]{4}\s{0,1}[a-zA-Z]{2}$" "321321 AKSSAA"
1119 "((\d{2})|(\d))\/((\d{2})|(\d))\/((\d{4})|(\d{2}))" G "<0>4/5/91</0>"
1120 "((\d{2})|(\d))\/((\d{2})|(\d))\/((\d{4})|(\d{2}))" G "<0>04/5/1991</0>"
1121 "((\d{2})|(\d))\/((\d{2})|(\d))\/((\d{4})|(\d{2}))" G "<0>4/05/89</0>"
1122 "((\d{2})|(\d))\/((\d{2})|(\d))\/((\d{4})|(\d{2}))" "4/5/1"
1123 #"(^|\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.
1124 "(^|\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>"
1125 "(^|\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>"
1126 "(^|\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"
1127 "(^|\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"
1128 "(^|\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"
1129 "^\d{3}\s?\d{3}$" G "<0>400 099</0>"
1130 "^\d{3}\s?\d{3}$" G "<0>400099</0>"
1131 "^\d{3}\s?\d{3}$" G "<0>400050</0>"
1132 "^\d{3}\s?\d{3}$" "2345678"
1133 "^\d{3}\s?\d{3}$" "12345"
1134 "^\d{3}\s?\d{3}$" "asdf"
1135 "^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$" G "<0>(111) 222-3333</0>"
1136 "^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$" G "<0>1112223333</0>"
1137 "^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$" G "<0>111-222-3333</0>"
1138 "^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$" "11122223333"
1139 "^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$" "11112223333"
1140 "^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$" "11122233333"
1141 "^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" G "<0>#00ccff</0>"
1142 "^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" G "<0>#039</0>"
1143 "^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" G "<0>ffffcc</0>"
1144 "^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" "blue"
1145 "^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" "0x000000"
1146 "^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" "#ff000"
1147 "^([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>"
1148 "^([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>"
1149 "^([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>"
1150 "^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$" "01:23:45:67:89:ab:cd"
1151 "^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$" "01:23:45:67:89:Az"
1152 "^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$" "01:23:45:56:"
1153 "^(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>"
1154 "^(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>"
1155 "^(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>"
1156 "^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+\&%\$#\=~])*$" "www.blah.com"
1157 "^(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!"
1158 "^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+\&%\$#\=~])*$" "ftp://blah_underscore/[nope]"
1159 "^(([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>"
1160 "^(([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>"
1161 "^(([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"
1162 "^(([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"
1163 "^(([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"
1164 "^[0-9](\.[0-9]+)?$" G "<0>1.2345</0>"
1165 "^[0-9](\.[0-9]+)?$" G "<0>0.00001</0>"
1166 "^[0-9](\.[0-9]+)?$" G "<0>7</0>"
1167 "^[0-9](\.[0-9]+)?$" "12.2"
1168 "^[0-9](\.[0-9]+)?$" "1.10.1"
1169 "^[0-9](\.[0-9]+)?$" "15.98"
1170 "^(?:[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>"
1171 "^(?:[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>"
1172 "^(?:[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>"
1173 "^(?:[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"
1174 "^(?:[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"
1175 "^(?:[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"
1176 "^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$" G "<0>123</0>"
1177 "^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$" G "<0>-123.35</0>"
1178 "^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$" G "<0>-123.35e-2</0>"
1179 "^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$" "abc"
1180 "^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$" "123.32e"
1181 "^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$" "123.32.3"
1182 "^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$" G "<0>T.F. Johnson</0>"
1183 "^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$" G "<0>John O'Neil</0>"
1184 "^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$" G "<0>Mary-Kate Johnson</0>"
1185 "^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$" "sam_johnson"
1186 "^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$" "Joe--Bob Jones"
1187 "^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$" "dfjsd0rd"
1188 "^(20|21|22|23|[0-1]\d)[0-5]\d$" G "<0>1200</0>"
1189 "^(20|21|22|23|[0-1]\d)[0-5]\d$" G "<0>1645</0>"
1190 "^(20|21|22|23|[0-1]\d)[0-5]\d$" G "<0>2359</0>"
1191 "^(20|21|22|23|[0-1]\d)[0-5]\d$" "2400"
1192 "^(20|21|22|23|[0-1]\d)[0-5]\d$" "asbc"
1193 "^(20|21|22|23|[0-1]\d)[0-5]\d$" "12:45"
1194 /<[^>]*\n?.*=("|')?(.*\.jpg)("|')?.*\n?[^<]*>/ G '<0><td background="../img/img.jpg" ></0>'
1195 /<[^>]*\n?.*=("|')?(.*\.jpg)("|')?.*\n?[^<]*>/ G "<0><img src=img.jpg ></0>"
1196 /<[^>]*\n?.*=("|')?(.*\.jpg)("|')?.*\n?[^<]*>/ G "<0><img src='img.jpg'></0>"
1197 /<[^>]*\n?.*=("|')?(.*\.jpg)("|')?.*\n?[^<]*>/ "= img.jpg"
1198 /<[^>]*\n?.*=("|')?(.*\.jpg)("|')?.*\n?[^<]*>/ "img.jpg"
1199 "^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$" G "<0>78754</0>"
1200 "^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$" G "<0>78754-1234</0>"
1201 "^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$" G "<0>G3H 6A3</0>"
1202 "^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$" "78754-12aA"
1203 "^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$" "7875A"
1204 "^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$" "g3h6a3"
1205 #"^([\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
1206 #"^([\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>"
1207 #"^([\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
1208 #"^([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))$" "bob@com" # TODO: \w in pattern
1209 #"^([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))$" "bob.jones@some.where" # TODO: \w in pattern
1210 #"^([\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
1211 #"^(([-\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
1212 #"^(([-\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
1213 #"^(([-\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
1214 #"^(([-\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
1215 #"^(([-\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
1216 #"^(([-\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
1217 "^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$" G "<0>SW112LE</0>"
1218 "^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$" G "<0>SW11 2LE</0>"
1219 "^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$" G "<0>CR05LE</0>"
1220 "^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$" "12CR0LE"
1221 "^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$" "12CR 0LE"
1222 "^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$" "SWLE05"
1223 "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>"
1224 "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>"
1225 "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>"
1226 "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"
1227 "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"
1228 "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"
1229 "^((?: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>"
1230 "^((?: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>"
1231 "^((?: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>"
1232 "^((?: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"
1233 "^((((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>"
1234 "^((((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>"
1235 "^((((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>"
1236 "^((((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"
1237 "^((((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"
1238 "^((((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"
1239 #"^(?=[^\&])(?:(?<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
1240 #"^(?=[^\&])(?:(?<scheme>[^:/?#]+):)?(?://(?<authority>[^/?#]*))?(?<path>[^?#]*)(?:\?(?<query>[^#]*))?(?:#(?<fragment>.*))?" "&" # out of context, can't work stand-alone
1241 "^[-+]?\d+(\.\d+)?$" G "<0>123</0>"
1242 "^[-+]?\d+(\.\d+)?$" G "<0>-123.45</0>"
1243 "^[-+]?\d+(\.\d+)?$" G "<0>+123.56</0>"
1244 "^[-+]?\d+(\.\d+)?$" "123x"
1245 "^[-+]?\d+(\.\d+)?$" ".123"
1246 "^[-+]?\d+(\.\d+)?$" "-123."
1247 "^(\d{4}[- ]){3}\d{4}|\d{16}$" G "<0>1234-1234-1234-1234</0>"
1248 "^(\d{4}[- ]){3}\d{4}|\d{16}$" G "<0>1234 1234 1234 1234</0>"
1249 "^(\d{4}[- ]){3}\d{4}|\d{16}$" G "<0>1234123412341234</0>"
1250 "^(\d{4}[- ]){3}\d{4}|\d{16}$" "Visa"
1251 "^(\d{4}[- ]){3}\d{4}|\d{16}$" "1234"
1252 "^(\d{4}[- ]){3}\d{4}|\d{16}$" "123-1234-12345"
1253 "^((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>"
1254 "^((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>"
1255 "^((4\d{3})|(5[1-5]\d{2})|(6011))-?\d{4}-?\d{4}-?\d{4}|3[4,7]\d{13}$" G "<0>341111111111111</0>"
1256 "^((4\d{3})|(5[1-5]\d{2})|(6011))-?\d{4}-?\d{4}-?\d{4}|3[4,7]\d{13}$" "4111-111-111-111"
1257 "^((4\d{3})|(5[1-5]\d{2})|(6011))-?\d{4}-?\d{4}-?\d{4}|3[4,7]\d{13}$" "3411-1111-1111-111"
1258 "^((4\d{3})|(5[1-5]\d{2})|(6011))-?\d{4}-?\d{4}-?\d{4}|3[4,7]\d{13}$" "Visa"
1259 "^[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>"
1260 "^[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>"
1261 "^[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"
1262 "^[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}"
1263 "^[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}$" "AAAAAAAAAAAAAAAAA"
1264 "^[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"
1265 "(^(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>"
1266 "(^(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>"
1267 "(^(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>"
1268 "(^(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"
1269 "(^(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"
1270 "(^(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"
1271 #'\[link="(?<link>((.|\n)*?))"\](?<text>((.|\n)*?))\[\/link\]' G '<0>[link="http://www.yahoo.com"]Yahoo[/link]</0>' #named capture
1272 #'\[link="(?<link>((.|\n)*?))"\](?<text>((.|\n)*?))\[\/link\]' "[link]http://www.yahoo.com[/link]" #named capture
1273 #'\[link="(?<link>((.|\n)*?))"\](?<text>((.|\n)*?))\[\/link\]' "[link=http://www.yahoo.com]Yahoo[/link]" #named capture
1274 "^[a-zA-Z0-9]+$" G "<0>10a</0>"
1275 "^[a-zA-Z0-9]+$" G "<0>ABC</0>"
1276 "^[a-zA-Z0-9]+$" G "<0>A3fg</0>"
1277 "^[a-zA-Z0-9]+$" "45.3"
1278 "^[a-zA-Z0-9]+$" "this or that"
1279 "^[a-zA-Z0-9]+$" "$23"
1280 "((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}" G "<0>(123) 456-7890</0>"
1281 "((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}" G "<0>123-456-7890</0>"
1282 "((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}" "1234567890"
1283 "^[a-zA-Z]\w{3,14}$" G "<0>abcd</0>"
1284 "^[a-zA-Z]\w{3,14}$" G "<0>aBc45DSD_sdf</0>"
1285 "^[a-zA-Z]\w{3,14}$" G "<0>password</0>"
1286 "^[a-zA-Z]\w{3,14}$" "afv"
1287 "^[a-zA-Z]\w{3,14}$" "1234"
1288 "^[a-zA-Z]\w{3,14}$" "reallylongpassword"
1289 "^[A-Z]{1,2}[1-9][0-9]?[A-Z]? [0-9][A-Z]{2,}|GIR 0AA$" G "<0>G1 1AA </0>"
1290 "^[A-Z]{1,2}[1-9][0-9]?[A-Z]? [0-9][A-Z]{2,}|GIR 0AA$" G "<0>GIR 0AA</0>"
1291 "^[A-Z]{1,2}[1-9][0-9]?[A-Z]? [0-9][A-Z]{2,}|GIR 0AA$" G "<0>SW1 1ZZ</0>"
1292 "^[A-Z]{1,2}[1-9][0-9]?[A-Z]? [0-9][A-Z]{2,}|GIR 0AA$" "BT01 3RT"
1293 "^[A-Z]{1,2}[1-9][0-9]?[A-Z]? [0-9][A-Z]{2,}|GIR 0AA$" "G111 1AA"
1294 "^0[23489]{1}(\-)?[^0\D]{1}\d{6}$" G "<0>03-6106666</0>"
1295 "^0[23489]{1}(\-)?[^0\D]{1}\d{6}$" G "<0>036106666</0>"
1296 "^0[23489]{1}(\-)?[^0\D]{1}\d{6}$" G "<0>02-5523344</0>"
1297 "^0[23489]{1}(\-)?[^0\D]{1}\d{6}$" "00-6106666"
1298 "^0[23489]{1}(\-)?[^0\D]{1}\d{6}$" "03-0106666"
1299 "^0[23489]{1}(\-)?[^0\D]{1}\d{6}$" "02-55812346"
1300 "^0(5[012345678]|6[47]){1}(\-)?[^0\D]{1}\d{5}$" G "<0>050-346634</0>"
1301 "^0(5[012345678]|6[47]){1}(\-)?[^0\D]{1}\d{5}$" G "<0>058633633</0>"
1302 "^0(5[012345678]|6[47]){1}(\-)?[^0\D]{1}\d{5}$" G "<0>064-228226</0>"
1303 "^0(5[012345678]|6[47]){1}(\-)?[^0\D]{1}\d{5}$" "059-336622"
1304 "^0(5[012345678]|6[47]){1}(\-)?[^0\D]{1}\d{5}$" "064-022663"
1305 "^0(5[012345678]|6[47]){1}(\-)?[^0\D]{1}\d{5}$" "0545454545"
1306 "^([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>"
1307 "^([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>"
1308 "^([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>"
1309 "^([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"
1310 "^([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"
1311 "^([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"
1312 "@{2}((\S)+)@{2}" G "<0>@@test@@</0>"
1313 "@{2}((\S)+)@{2}" G "<0>@@name@@</0>"
1314 "@{2}((\S)+)@{2}" G "<0>@@2342@@</0>"
1315 "@{2}((\S)+)@{2}" "@test@"
1316 "@{2}((\S)+)@{2}" "@@na me@@"
1317 "@{2}((\S)+)@{2}" "@@ name@@"
1318 "([0-1][0-9]|2[0-3]):[0-5][0-9]" G "<0>00:00</0>"
1319 "([0-1][0-9]|2[0-3]):[0-5][0-9]" G "<0>13:59</0>"
1320 "([0-1][0-9]|2[0-3]):[0-5][0-9]" G "<0>23:59</0>"
1321 "([0-1][0-9]|2[0-3]):[0-5][0-9]" "24:00"
1322 "([0-1][0-9]|2[0-3]):[0-5][0-9]" "23:60"
1323 "^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$" G "<0>23</0>"
1324 "^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$" G "<0>-17.e23</0>"
1325 "^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$" G "<0>+.23e+2</0>"
1326 "^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$" "+.e2"
1327 "^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$" "23.17.5"
1328 "^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$" "10e2.0"
1329 "^([1-zA-Z0-1@.\s ]{1,255})$" G "<0>email@email.com</0>"
1330 "^([1-zA-Z0-1@.\s ]{1,255})$" G "<0>My Name</0>"
1331 "^([1-zA-Z0-1@.\s ]{1,255})$" G "<0>asdf12df</0>"
1332 "^([1-zA-Z0-1@.\s ]{1,255})$" "‘,\*&$<>"
1333 "^([1-zA-Z0-1@.\s ]{1,255})$" "1001' string"
1334 "^((0[1-9])|(1[0-2]))\/(\d{4})$" G "<0>12/2002</0>"
1335 "^((0[1-9])|(1[0-2]))\/(\d{4})$" G "<0>11/1900</0>"
1336 "^((0[1-9])|(1[0-2]))\/(\d{4})$" G "<0>02/1977</0>"
1337 "^((0[1-9])|(1[0-2]))\/(\d{4})$" "1/1977"
1338 "^((0[1-9])|(1[0-2]))\/(\d{4})$" "00/000"
1339 "^((0[1-9])|(1[0-2]))\/(\d{4})$" "15/2002"
1340 "^\(\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>"
1341 "^\(\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>"
1342 "^\(\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>"
1343 "^\(\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"
1344 "^\(\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"
1345 "^\(\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"
1346 "(?:\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>"
1347 "(?:\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>"
1348 "(?:\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>"
1349 "(?:\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"
1350 "(?:\d|I{1,3})?\s?\w{2,}\.?\s*\d{1,}\:\d{1,}-?,?\d{0,2}(?:,\d{0,2}){0,2}" "2nd Samuel 2"
1351 "(\[[Ii][Mm][Gg]\])(\S+?)(\[\/[Ii][Mm][Gg]\])" G "<0>[IMG]http://bleh.jpg[/IMG]</0>"
1352 "(\[[Ii][Mm][Gg]\])(\S+?)(\[\/[Ii][Mm][Gg]\])" G "<0>[ImG]bleh[/imG]</0>"
1353 "(\[[Ii][Mm][Gg]\])(\S+?)(\[\/[Ii][Mm][Gg]\])" G "<0>[img]ftp://login:pass@bleh.gif[/img]</0>"
1354 "(\[[Ii][Mm][Gg]\])(\S+?)(\[\/[Ii][Mm][Gg]\])" '<img src="bleh.jpg">'
1355 "^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$" G "<0>10/03/1979</0>"
1356 "^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$" G "<0>1-1-02</0>"
1357 "^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$" G "<0>01.1.2003</0>"
1358 "^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$" "10/03/197"
1359 "^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$" "01-02-003"
1360 "^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$" "01 02 03"
1361 #"^(?(^00000(|-0000))|(\d{5}(|-\d{4})))$" G "<0>12345</0>" # No Conditionals?
1362 #"^(?(^00000(|-0000))|(\d{5}(|-\d{4})))$" G "<0>12345-6789</0>" # No Conditionals?
1363 #"^(?(^00000(|-0000))|(\d{5}(|-\d{4})))$" "00000" # No Conditionals?
1364 #"^(?(^00000(|-0000))|(\d{5}(|-\d{4})))$" "00000-0000" # No Conditionals?
1365 #"^(?(^00000(|-0000))|(\d{5}(|-\d{4})))$" "a4650-465s" # No Conditionals?
1366 "^((0?[1-9])|((1|2)[0-9])|30|31)$" G "<0>01</0>"
1367 "^((0?[1-9])|((1|2)[0-9])|30|31)$" G "<0>12</0>"
1368 "^((0?[1-9])|((1|2)[0-9])|30|31)$" G "<0>31</0>"
1369 "^((0?[1-9])|((1|2)[0-9])|30|31)$" "123"
1370 "^((0?[1-9])|((1|2)[0-9])|30|31)$" "32"
1371 "^((0?[1-9])|((1|2)[0-9])|30|31)$" "abc"
1372 "^([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>"
1373 "^([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>"
1374 "^([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>"
1375 "^([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"
1376 "^([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"
1377 "^([0-1]([\s\-./\\])?)?(\(?[2-9]\d{2}\)?|[2-9]\d{3})([\s\-./\\])?(\d{3}([\s\-./\\])?\d{4}|[a-zA-Z0-9]{7})$" "11231321131"
1378 "^([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>"
1379 "^([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>"
1380 "^([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>"
1381 "^([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"
1382 "^([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"
1383 "^([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"
1384 "^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$" G "<0>asD1</0>"
1385 "^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$" G "<0>asDF1234</0>"
1386 "^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$" G "<0>ASPgo123</0>"
1387 "^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$" "asdf"
1388 "^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$" "1234"
1389 "^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$" "ASDF12345"
1390 "^([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>"
1391 "^([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>"
1392 "^([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>"
1393 "^([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"
1394 "^([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"
1395 "^([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"
1396 "^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$" G "<0>09:00</0>"
1397 "^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$" G "<0>9:00</0>"
1398 "^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$" G "<0>11:35</0>"
1399 "^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$" "13:00"
1400 "^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$" "9.00"
1401 "^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$" "6:60"
1402 "^([1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$" G "<0>1</0>"
1403 "^([1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$" G "<0>108</0>"
1404 "^([1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$" G "<0>255</0>"
1405 "^([1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$" "01"
1406 "^([1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$" "256"
1407 "^((((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>"
1408 "^((((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>"
1409 "^((((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>"
1410 "^((((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"
1411 "^((((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"
1412 "^((((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"
1413 "^[A-Za-z]{2}[0-9]{6}[A-Za-z]{1}$" G "<0>SP939393H</0>"
1414 "^[A-Za-z]{2}[0-9]{6}[A-Za-z]{1}$" G "<0>PX123456D</0>"
1415 "^[A-Za-z]{2}[0-9]{6}[A-Za-z]{1}$" G "<0>SW355667G</0>"
1416 "^[A-Za-z]{2}[0-9]{6}[A-Za-z]{1}$" "12SP9393H"
1417 "^[A-Za-z]{2}[0-9]{6}[A-Za-z]{1}$" "S3P93930D"
1418 "^[A-Za-z]{2}[0-9]{6}[A-Za-z]{1}$" "11223344SP00ddSS"
1419 "(^0[78][2347][0-9]{7})" G "<0>0834128458</0>"
1420 "(^0[78][2347][0-9]{7})" G "<0>0749526308</0>"
1421 "(^0[78][2347][0-9]{7})" "0861212308"
1422 "(^0[78][2347][0-9]{7})" "0892549851"
1423 "^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$" G "<0>C1406HHA</0>"
1424 "^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$" G "<0>A4126AAB</0>"
1425 "^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$" G "<0>c1406hha</0>"
1426 "^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$" "c1406HHA"
1427 "^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$" "4126"
1428 "^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$" "C1406hha"
1429 "^(((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>"
1430 "^(((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>"
1431 "^(((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>"
1432 "^(((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"
1433 "^(((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"
1434 "^(((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"
1435 "^([\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>"
1436 "^([\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>"
1437 "^([\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>"
1438 "^([\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"
1439 "^([\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"
1440 "^([\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"
1441 "/\*[\d\D]*?\*/" G "<0>/* my comment */</0>"
1442 "/\*[\d\D]*?\*/" G "<0>/* my multiline comment */</0>"
1443 "/\*[\d\D]*?\*/" G "<0>/* my nested comment */</0>"
1444 "/\*[\d\D]*?\*/" "*/ anything here /*"
1445 "/\*[\d\D]*?\*/" "anything between 2 seperate comments"
1446 "/\*[\d\D]*?\*/" "\* *\"
1447 "/\*[\p{N}\P{N}]*?\*/" G "<0>/* my comment */</0>"
1448 "/\*[\p{N}\P{N}]*?\*/" G "<0>/* my multiline comment */</0>"
1449 "/\*[\p{N}\P{N}]*?\*/" G "<0>/* my nested comment */</0>"
1450 "/\*[\p{N}\P{N}]*?\*/" "*/ anything here /*"
1451 "/\*[\p{N}\P{N}]*?\*/" "anything between 2 seperate comments"
1452 "/\*[\p{N}\P{N}]*?\*/" "\* *\"
1453 "((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>"
1454 "((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>"
1455 "((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>"
1456 "((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"
1457 "((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"
1458 "((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"
1459 '^(([^<>;()\[\]\\.,;:@"]+(\.[^<>()\[\]\\.,;:@"]+)*)|(".+"))@((([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>"
1460 '^(([^<>;()\[\]\\.,;:@"]+(\.[^<>()\[\]\\.,;:@"]+)*)|(".+"))@((([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>"
1461 '^(([^<>;()\[\]\\.,;:@"]+(\.[^<>()\[\]\\.,;:@"]+)*)|(".+"))@((([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@."
1462 "^\d{9}[\d|X]$" G "<0>1234123412</0>"
1463 "^\d{9}[\d|X]$" G "<0>123412341X</0>"
1464 "^\d{9}[\d|X]$" "not an isbn"
1465 "^\d{9}(\d|X)$" G "<0>1234123412</0>"
1466 "^\d{9}(\d|X)$" G "<0>123412341X</0>"
1467 "^\d{9}(\d|X)$" "not an isbn"
1468 "^(([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>"
1469 "^(([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>"
1470 "^(([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>"
1471 "^(([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"
1472 "^(([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"
1473 "^(([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"
1474 "^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$" G "<0>0.25</0>"
1475 "^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$" G "<0>.75</0>"
1476 "^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$" G "<0>123.50</0>"
1477 "^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$" ".77"
1478 "^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$" "1.435"
1479 "^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$" G "<0>12345</0>"
1480 "^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$" G "<0>932 68</0>"
1481 "^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$" G "<0>S-621 46</0>"
1482 "^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$" "5367"
1483 "^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$" "425611"
1484 "^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$" "31 545"
1485 "^\d{5}(-\d{4})?$" G "<0>48222</0>"
1486 "^\d{5}(-\d{4})?$" G "<0>48222-1746</0>"
1487 "^\d{5}(-\d{4})?$" "4632"
1488 "^\d{5}(-\d{4})?$" "Blake"
1489 "^\d{5}(-\d{4})?$" "37333-32"
1490 '^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$' G "<0>test.txt</0>"
1491 '^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$' G "<0>test.jpg.txt</0>"
1492 '^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$' G "<0>a&b c.bmp</0>"
1493 '^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$' "CON"
1494 '^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$' ".pdf"
1495 '^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$' "test:2.pdf"
1496 "^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" G "<0>1'235.140</0>"
1497 "^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" G "<0>1'222'333.120</0>"
1498 "^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" G "<0>456</0>"
1499 "^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" "1234.500"
1500 "^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" "78'45.123"
1501 "^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" "123,0012"
1502 "^[a-zA-Z][0-9][a-zA-Z]\s?[0-9][a-zA-Z][0-9]$" G "<0>T2p 3c7</0>"
1503 "^[a-zA-Z][0-9][a-zA-Z]\s?[0-9][a-zA-Z][0-9]$" G "<0>T3P3c7</0>"
1504 "^[a-zA-Z][0-9][a-zA-Z]\s?[0-9][a-zA-Z][0-9]$" G "<0>T2P 3C7</0>"
1505 "^[a-zA-Z][0-9][a-zA-Z]\s?[0-9][a-zA-Z][0-9]$" "123456"
1506 "^[a-zA-Z][0-9][a-zA-Z]\s?[0-9][a-zA-Z][0-9]$" "3C7T2P"
1507 "^[a-zA-Z][0-9][a-zA-Z]\s?[0-9][a-zA-Z][0-9]$" "11T21RWW"
1508 "^\$[0-9]+(\.[0-9][0-9])?$" G "<0>$1.50</0>"
1509 "^\$[0-9]+(\.[0-9][0-9])?$" G "<0>$49</0>"
1510 "^\$[0-9]+(\.[0-9][0-9])?$" G "<0>$0.50</0>"
1511 "^\$[0-9]+(\.[0-9][0-9])?$" "1.5"
1512 "^\$[0-9]+(\.[0-9][0-9])?$" "$1.333"
1513 "^\$[0-9]+(\.[0-9][0-9])?$" "this $5.12 fails"
1514 "\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>"
1515 "\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>"
1516 "\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>"
1517 "\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"
1518 "\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"
1519 "\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"
1520 "((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+)" G "<0>http://www.aspemporium.com</0>"
1521 "((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+)" G "<0>mailto:dominionx@hotmail.com</0>"
1522 "((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+)" G "<0>ftp://ftp.test.com</0>"
1523 "((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+)" "www.aspemporium.com"
1524 "((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+)" "dominionx@hotmail.com"
1525 "((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+)" "bloggs"
1526 "\(([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>"
1527 "\(([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>"
1528 "\(([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>"
1529 "\(([0-9]{2}|0{1}((x|[0-9]){2}[0-9]{2}))\)\s*[0-9]{3,4}[- ]*[0-9]{4}" "12 123 1234"
1530 "\(([0-9]{2}|0{1}((x|[0-9]){2}[0-9]{2}))\)\s*[0-9]{3,4}[- ]*[0-9]{4}" "(012) 123/1234"
1531 "\(([0-9]{2}|0{1}((x|[0-9]){2}[0-9]{2}))\)\s*[0-9]{3,4}[- ]*[0-9]{4}" "(012) 123 12345"
1532 "^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" G "<0>bob-smith@foo.com</0>"
1533 "^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" G "<0>bob.smith@foo.com</0>"
1534 "^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" G "<0>bob_smith@foo.com</0>"
1535 "^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" "-smith@foo.com"
1536 "^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" ".smith@foo.com"
1537 "^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" "smith@foo_com"
1538 "^(?=.*\d).{4,8}$" G "<0>1234</0>"
1539 "^(?=.*\d).{4,8}$" G "<0>asdf1234</0>"
1540 "^(?=.*\d).{4,8}$" G "<0>asp123</0>"
1541 "^(?=.*\d).{4,8}$" "asdf"
1542 "^(?=.*\d).{4,8}$" "asdf12345"
1543 "^(?=.*\d).{4,8}$" "password"
1544 "[^A-Za-z0-9_@\.]|@{2,}|\.{5,}" G "<0>user name</0>"
1545 "[^A-Za-z0-9_@\.]|@{2,}|\.{5,}" G "<0>user#name</0>"
1546 "[^A-Za-z0-9_@\.]|@{2,}|\.{5,}" G "<0>.....</0>"
1547 "[^A-Za-z0-9_@\.]|@{2,}|\.{5,}" "User_Name1"
1548 "[^A-Za-z0-9_@\.]|@{2,}|\.{5,}" "username@foo.com"
1549 "[^A-Za-z0-9_@\.]|@{2,}|\.{5,}" "user.name@mail.foo.com"
1550 "^100$|^[0-9]{1,2}$|^[0-9]{1,2}\,[0-9]{1,3}$" G "<0>12,654</0>"
1551 "^100$|^[0-9]{1,2}$|^[0-9]{1,2}\,[0-9]{1,3}$" G "<0>1,987</0>"
1552 "^100$|^[0-9]{1,2}$|^[0-9]{1,2}\,[0-9]{1,3}$" "128,2"
1553 "^100$|^[0-9]{1,2}$|^[0-9]{1,2}\,[0-9]{1,3}$" "12,"
1554 "^(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>"
1555 "^(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."
1556 "^(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)"
1557 "^(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,"
1558 "(\d{1,3},(\d{3},)*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" G "<0>2&651.50</0>"
1559 "(\d{1,3},(\d{3},)*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" G "<0>987.895</0>"
1560 "(\d{1,3},(\d{3},)*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$" "25$%787*"
1561 "\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$" G "<0>$1,456,983.00</0>"
1562 "\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$" G "<0>$1,700.07</0>"
1563 "\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$" G "<0>$68,944.23</0>"
1564 "\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$" "$20,86.93"
1565 "\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$" "$1098.84"
1566 "\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$" "$150."
1567 "\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9])?$" G "<0>$28,009,987.88</0>"
1568 "\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9])?$" G "<0>$23,099.05</0>"
1569 "\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9])?$" G "<0>$.88</0>"
1570 "\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9])?$" "$234,5.99"
1571 "^((((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>"
1572 "^((((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>"
1573 "^((((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>"
1574 "^((((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"
1575 "^((((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"
1576 "^((((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"
1577 "^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$" G "<0>somthing@someserver.com</0>"
1578 "^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$" G "<0>firstname.lastname@mailserver.domain.com</0>"
1579 "^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$" G "<0>username-something@some-server.nl</0>"
1580 "^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$" "username@someserver.domain.c"
1581 "^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$" "somename@server.domain-com"
1582 "^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$" "someone@something.se_eo"
1583 "(^([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>"
1584 "(^([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>"
1585 "(^([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>"
1586 "(^([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"
1587 "(^([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"
1588 "(^([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"
1589 "^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$" G "<0>55(21)123-4567</0>"
1590 "^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$" G "<0>(11)1234-5678</0>"
1591 "^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$" G "<0>55(71)4562-2234</0>"
1592 "^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$" "3434-3432"
1593 "^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$" "4(23)232-3232"
1594 "^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$" "55(2)232-232"
1595 "^((([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>"
1596 "^((([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>"
1597 "^((([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>"
1598 "^((([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"
1599 "^((([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"
1600 "^((([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"
1601 "^\d{0,2}(\.\d{1,2})?$" G "<0>99.99</0>"
1602 "^\d{0,2}(\.\d{1,2})?$" G "<0>99</0>"
1603 "^\d{0,2}(\.\d{1,2})?$" G "<0>.99</0>"
1604 "^\d{0,2}(\.\d{1,2})?$" "999.999"
1605 "^\d{0,2}(\.\d{1,2})?$" "999"
1606 "^\d{0,2}(\.\d{1,2})?$" ".999"
1607 "^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{4,8}$" G "<0>1agdA*$#</0>"
1608 "^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{4,8}$" G "<0>1agdA*$#</0>"
1609 "^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{4,8}$" G "<0>1agdA*$#</0>"
1610 "^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{4,8}$" "wyrn%@*&$# f"
1611 "^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{4,8}$" "mbndkfh782"
1612 "^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{4,8}$" "BNfhjdhfjd&*)%#$)"
1613 "^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\.)+([a-zA-Z0-9]{3,5})$" G "<0>freshmeat.net</0>"
1614 "^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\.)+([a-zA-Z0-9]{3,5})$" G "<0>123.com</0>"
1615 "^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\.)+([a-zA-Z0-9]{3,5})$" G "<0>TempLate-toolkKt.orG</0>"
1616 "^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\.)+([a-zA-Z0-9]{3,5})$" "-dog.com"
1617 "^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\.)+([a-zA-Z0-9]{3,5})$" "?boy.net"
1618 "^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\.)+([a-zA-Z0-9]{3,5})$" "this.domain"
1619 "^[^']*$" G "<0>asljas</0>"
1620 "^[^']*$" G "<0>%/&89uhuhadjkh</0>"
1621 "^[^']*$" G '<0>"hi there!"</0>'
1622 "^[^']*$" "'hi there!'"
1623 "^[^']*$" "It's 9 o'clock"
1624 "^[^']*$" "'''''"
1625 "(^\(\)$|^\(((\([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>"
1626 "(^\(\)$|^\(((\([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>"
1627 "(^\(\)$|^\(((\([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>"
1628 "(^\(\)$|^\(((\([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)))"
1629 "(^\(\)$|^\(((\([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}\)))$" "( )"
1630 "(^\(\)$|^\(((\([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)))"
1631 "^[a-zA-Z0-9\s .\-_']+$" G "<0>dony d'gsa</0>"
1632 "^[a-zA-Z0-9\s .\-_']+$" "^[a-zA-Z0-9\s.\-_']+$"
1633 "^[_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>"
1634 "^[_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>"
1635 "^[_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>"
1636 "^[_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"
1637 "^[_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"
1638 "^[_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"
1639 "^\d{5}(-\d{3})?$" G "<0>13165-000</0>"
1640 "^\d{5}(-\d{3})?$" G "<0>38175-000</0>"
1641 "^\d{5}(-\d{3})?$" G "<0>81470-276</0>"
1642 "^\d{5}(-\d{3})?$" "13165-00"
1643 "^\d{5}(-\d{3})?$" "38175-abc"
1644 "^\d{5}(-\d{3})?$" "81470-2763"
1645 "^\$(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$" G "<0>$0.84</0>"
1646 "^\$(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$" G "<0>$123458</0>"
1647 "^\$(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$" G "<0>$1,234,567.89</0>"
1648 "^\$(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$" "$12,3456.01"
1649 "^\$(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$" "12345"
1650 "^\$(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$" "$1.234"
1651 "([A-Z]:\\[^/:\*\?<>\|]+\.\w{2,6})|(\\{2}[^/:\*\?<>\|]+\.\w{2,6})" G "<0>C:\\temp\\this allows spaces\\web.config</0>"
1652 "([A-Z]:\\[^/:\*\?<>\|]+\.\w{2,6})|(\\{2}[^/:\*\?<>\|]+\.\w{2,6})" G "<0>\\\\Andromeda\\share\\file name.123</0>"
1653 "([A-Z]:\\[^/:\*\?<>\|]+\.\w{2,6})|(\\{2}[^/:\*\?<>\|]+\.\w{2,6})" "tz:\temp\ fi*le?na:m<e>.doc"
1654 "([A-Z]:\\[^/:\*\?<>\|]+\.\w{2,6})|(\\{2}[^/:\*\?<>\|]+\.\w{2,6})" "\\Andromeda\share\filename.a"
1655 "(^([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>"
1656 "(^([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>"
1657 "(^([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>"
1658 "(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])$)|(^([0-9]|[1][0-9]|[2][0-3])$)" "24:00"
1659 "(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])$)|(^([0-9]|[1][0-9]|[2][0-3])$)" "20 PM"
1660 "(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])$)|(^([0-9]|[1][0-9]|[2][0-3])$)" "20:15 PM"
1661 "^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$" G "<0>$3,023,123.34</0>"
1662 "^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$" G "<0>9,876,453</0>"
1663 "^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$" G "<0>123456.78</0>"
1664 "^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$" "4,33,234.34"
1665 "^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$" "$1.234"
1666 "^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$" "abc"
1667 "^\$?\d+(\.(\d{2}))?$" G "<0>$2.43</0>"
1668 "^\$?\d+(\.(\d{2}))?$" G "<0>2.02</0>"
1669 "^\$?\d+(\.(\d{2}))?$" G "<0>$2112</0>"
1670 "^\$?\d+(\.(\d{2}))?$" "2.1"
1671 "^\$?\d+(\.(\d{2}))?$" "$.14"
1672 "^\$?\d+(\.(\d{2}))?$" "$2,222.12"
1673 /("[^"]*")|('[^\r]*)(\r\n)?/ G '<0>"my string"</0>'
1674 /("[^"]*")|('[^\r]*)(\r\n)?/ G '<0>"a string with \u0027 in it"</0>'
1675 /("[^"]*")|('[^\r]*)(\r\n)?/ G "<0>' comment</0>"
1676 /("[^"]*")|('[^\r]*)(\r\n)?/ /asd "/
1677 "^[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>"
1678 "^[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>"
1679 "^[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"
1680 "^[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"
1681 "^[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"
1682 "^\d{2}(\x2e)(\d{3})(-\d{3})?$" G "<0>12.345-678</0>"
1683 "^\d{2}(\x2e)(\d{3})(-\d{3})?$" G "<0>23.345-123</0>"
1684 "^\d{2}(\x2e)(\d{3})(-\d{3})?$" G "<0>99.999</0>"
1685 "^\d{2}(\x2e)(\d{3})(-\d{3})?$" "41222-222"
1686 "^\d{2}(\x2e)(\d{3})(-\d{3})?$" "3.444-233"
1687 "^\d{2}(\x2e)(\d{3})(-\d{3})?$" "43.324444"
1688 "^\d{2}(\u002e)(\d{3})(-\d{3})?$" G "<0>12.345-678</0>"
1689 "^\d{2}(\u002e)(\d{3})(-\d{3})?$" G "<0>23.345-123</0>"
1690 "^\d{2}(\u002e)(\d{3})(-\d{3})?$" G "<0>99.999</0>"
1691 "^\d{2}(\u002e)(\d{3})(-\d{3})?$" "41222-222"
1692 "^\d{2}(\u002e)(\d{3})(-\d{3})?$" "3.444-233"
1693 "^\d{2}(\u002e)(\d{3})(-\d{3})?$" "43.324444"
1694 #"^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*))+\.(txt|TXT)$" G "<0>c:\file.txt</0>" # TODO: debug
1695 #"^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*))+\.(txt|TXT)$" G "<0>c:\folder\sub folder\file.txt</0>" # TODO: debug
1696 #"^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*))+\.(txt|TXT)$" G "<0>\\network\folder\file.txt</0>" # TODO: debug
1697 "^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*))+\.(txt|TXT)$" "C:"
1698 "^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*))+\.(txt|TXT)$" "C:\file.xls"
1699 "^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*))+\.(txt|TXT)$" "folder.txt"
1700 "^[a-zA-Z0-9]+([a-zA-Z0-9\-\.]+)?\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" G "<0>my.domain.com</0>"
1701 "^[a-zA-Z0-9]+([a-zA-Z0-9\-\.]+)?\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" G "<0>regexlib.com</0>"
1702 "^[a-zA-Z0-9]+([a-zA-Z0-9\-\.]+)?\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" G "<0>big-reg.com</0>"
1703 "^[a-zA-Z0-9]+([a-zA-Z0-9\-\.]+)?\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" ".mydomain.com"
1704 "^[a-zA-Z0-9]+([a-zA-Z0-9\-\.]+)?\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" "regexlib.comm"
1705 "^[a-zA-Z0-9]+([a-zA-Z0-9\-\.]+)?\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" "-bigreg.com"
1706 "^\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>"
1707 "^\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>"
1708 "^\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>"
1709 "^\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"
1710 "^\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"
1711 "^\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"
1712 "^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$" G "<0>http://psychopop.org</0>"
1713 "^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$" G "<0>http://www.edsroom.com/newUser.asp</0>"
1714 "^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$" G "<0>http://unpleasant.jarrin.net/markov/inde</0>"
1715 "^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$" "ftp://psychopop.org"
1716 "^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$" "http://www.edsroom/"
1717 "^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$" "http://un/pleasant.jarrin.net/markov/index.asp"
1718 "^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\d$" G "<0>1145</0>"
1719 "^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\d$" G "<0>933</0>"
1720 "^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\d$" G "<0> 801</0>"
1721 "^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\d$" "0000"
1722 "^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\d$" "1330"
1723 "^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\d$" "8:30"
1724 "^\d{1,2}\/\d{2,4}$" G "<0>9/02</0>"
1725 "^\d{1,2}\/\d{2,4}$" G "<0>09/2002</0>"
1726 "^\d{1,2}\/\d{2,4}$" G "<0>09/02</0>"
1727 "^\d{1,2}\/\d{2,4}$" "Fall 2002"
1728 "^\d{1,2}\/\d{2,4}$" "Sept 2002"
1729 "^(|(0[1-9])|(1[0-2]))\/((0[1-9])|(1\d)|(2\d)|(3[0-1]))\/((\d{4}))$" G "<0>01/01/2001</0>"
1730 "^(|(0[1-9])|(1[0-2]))\/((0[1-9])|(1\d)|(2\d)|(3[0-1]))\/((\d{4}))$" G "<0>02/30/2001</0>"
1731 "^(|(0[1-9])|(1[0-2]))\/((0[1-9])|(1\d)|(2\d)|(3[0-1]))\/((\d{4}))$" G "<0>12/31/2002</0>"
1732 "^(|(0[1-9])|(1[0-2]))\/((0[1-9])|(1\d)|(2\d)|(3[0-1]))\/((\d{4}))$" "1/1/02"
1733 "^(|(0[1-9])|(1[0-2]))\/((0[1-9])|(1\d)|(2\d)|(3[0-1]))\/((\d{4}))$" "1/1/2002"
1734 "^(|(0[1-9])|(1[0-2]))\/((0[1-9])|(1\d)|(2\d)|(3[0-1]))\/((\d{4}))$" "1/25/2002"
1735 "^(1?(-?\d{3})-?)?(\d{3})(-?\d{4})$" G "<0>15615552323</0>"
1736 "^(1?(-?\d{3})-?)?(\d{3})(-?\d{4})$" G "<0>1-561-555-1212</0>"
1737 "^(1?(-?\d{3})-?)?(\d{3})(-?\d{4})$" G "<0>5613333</0>"
1738 "^(1?(-?\d{3})-?)?(\d{3})(-?\d{4})$" "1-555-5555"
1739 "^(1?(-?\d{3})-?)?(\d{3})(-?\d{4})$" "15553333"
1740 "^(1?(-?\d{3})-?)?(\d{3})(-?\d{4})$" "0-561-555-1212"
1741 '<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>' G '<0><input type = text name = "bob"></0>'
1742 '<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>' G '<0><select name = "fred"></0>'
1743 #'<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>' G '<0><form></0>' #TODO: Debug
1744 '<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>' "<input type = submit>" # TODO: \w in pattern
1745 '<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>' '<font face = "arial">' # TODO: \w in pattern
1746 '<[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*>' "The drity brown fox stank like"
1747 "^(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>"
1748 "^(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>"
1749 "^(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>"
1750 "^(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"
1751 "^\d*$" G "<0>123</0>"
1752 "^\d*$" G "<0>000</0>"
1753 "^\d*$" G "<0>43</0>"
1754 "^\d*$" "asbc"
1755 "^\d*$" "-34"
1756 "^\d*$" "3.1415"
1757 "^[-+]?\d*$" G "<0>123</0>"
1758 "^[-+]?\d*$" G "<0>-123</0>"
1759 "^[-+]?\d*$" G "<0>+123</0>"
1760 "^[-+]?\d*$" "abc"
1761 "^[-+]?\d*$" "3.14159"
1762 "^[-+]?\d*$" "-3.14159"
1763 "^\d*\.?\d*$" G "<0>123</0>"
1764 "^\d*\.?\d*$" G "<0>3.14159</0>"
1765 "^\d*\.?\d*$" G "<0>.234</0>"
1766 "^\d*\.?\d*$" "abc"
1767 "^\d*\.?\d*$" "-3.14159"
1768 "^\d*\.?\d*$" "3.4.2"
1769 "^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$" G "<0>44240</0>"
1770 "^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$" G "<0>44240-5555</0>"
1771 "^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$" G "<0>T2P 3C7</0>"
1772 "^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$" "44240ddd"
1773 "^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$" "t44240-55"
1774 "^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$" "t2p3c7"
1775 "^[\\(]{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>"
1776 "^[\\(]{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>"
1777 "^[\\(]{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>"
1778 "^[\\(]{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"
1779 "^[\\(]{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"
1780 "^[\\(]{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"
1781 "^((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>"
1782 "^((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>"
1783 "^((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>"
1784 "^((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"
1785 "^((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"
1786 "^((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"
1787 "^(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>"
1788 "^(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>"
1789 "^(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>"
1790 "^(0[1-9]|1[0-2])\/((0[1-9]|2\d)|3[0-1])\/(19\d\d|200[0-3])$" "1/1/2002"
1791 "^(0[1-9]|1[0-2])\/((0[1-9]|2\d)|3[0-1])\/(19\d\d|200[0-3])$" "01/01/02"
1792 "^(0[1-9]|1[0-2])\/((0[1-9]|2\d)|3[0-1])\/(19\d\d|200[0-3])$" "01/01/2004"
1793 "^((((([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>"
1794 "^((((([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>"
1795 "^((((([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>"
1796 "^((((([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"
1797 "^((((([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"
1798 "^((((([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"
1799 "([a-zA-Z]:(\\w+)*\\[a-zA-Z0_9]+)?.xls" G "<0>E:\DyAGT\SD01A_specV2.xls</0>"
1800 "([a-zA-Z]:(\\w+)*\\[a-zA-Z0_9]+)?.xls" "E:\DyAGT\SD01A_specV2.txt"
1801 "(((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>"
1802 "(((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>"
1803 "(((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>"
1804 "(((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"
1805 "(((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"
1806 "(((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"
1807 "^[a-zA-Z0-9\s .\-]+$" G "<0>2222 Mock St.</0>" # TODO: \s in patterns not implemented
1808 "^[a-zA-Z0-9\s .\-]+$" G "<0>1 A St.</0>"
1809 "^[a-zA-Z0-9\s .\-]+$" G "<0>555-1212</0>"
1810 "^[a-zA-Z0-9\s.\-]+$" "[A Street]"
1811 "^[a-zA-Z0-9\s.\-]+$" "(3 A St.)"
1812 "^[a-zA-Z0-9\s.\-]+$" "{34 C Ave.}"
1813 "^[a-zA-Z0-9\s.\-]+$" "Last.*?(\d+.?\d*)"
1814 "^[a-zA-Z0-9\s .\-]+$" G "<TR><TD ALIGN=RIGHT> </TD><TD>Last</TD><TD ALIGN=RIGHT NOW"
1815 "^[a-zA-Z0-9\s.\-]+$" "[AADDSS]"
1816 "^([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>"
1817 "^([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>"
1818 "^([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>"
1819 "^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$" "1.123.123.1234"
1820 "^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$" "(123)-1234-123"
1821 "^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$" "123-1234"
1822 "^([0-1][0-9]|[2][0-3]):([0-5][0-9])$" G "<0>02:04</0>"
1823 "^([0-1][0-9]|[2][0-3]):([0-5][0-9])$" G "<0>16:56</0>"
1824 "^([0-1][0-9]|[2][0-3]):([0-5][0-9])$" G "<0>23:59</0>"
1825 "^([0-1][0-9]|[2][0-3]):([0-5][0-9])$" "02:00 PM"
1826 "^([0-1][0-9]|[2][0-3]):([0-5][0-9])$" "PM2:00"
1827 "^([0-1][0-9]|[2][0-3]):([0-5][0-9])$" "24:00"
1828 "^[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>"
1829 "^[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>"
1830 "^[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>"
1831 "^[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"
1832 "^[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"
1833 "^[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"
1834 "((\(\d{3}\)?)|(\d{3}))([\s \-./]?)(\d{3})([\s \-./]?)(\d{4})" G "<0>1.2123644567</0>"
1835 "((\(\d{3}\)?)|(\d{3}))([\s \-./]?)(\d{3})([\s \-./]?)(\d{4})" G "<0>0-234.567/8912</0>"
1836 "((\(\d{3}\)?)|(\d{3}))([\s \-./]?)(\d{3})([\s \-./]?)(\d{4})" G "<0>1-(212)-123 4567</0>"
1837 "((\(\d{3}\)?)|(\d{3}))([\s \-./]?)(\d{3})([\s \-./]?)(\d{4})" "0-212364345"
1838 "((\(\d{3}\)?)|(\d{3}))([\s \-./]?)(\d{3})([\s \-./]?)(\d{4})" "1212-364,4321"
1839 "((\(\d{3}\)?)|(\d{3}))([\s \-./]?)(\d{3})([\s \-./]?)(\d{4})" "0212\345/6789"
1840 "^([0-9]{6}[\s \-]{1}[0-9]{12}|[0-9]{18})$" G "<0>000000 000000000000</0>"
1841 "^([0-9]{6}[\s \-]{1}[0-9]{12}|[0-9]{18})$" G "<0>000000-000000000000</0>"
1842 "^([0-9]{6}[\s \-]{1}[0-9]{12}|[0-9]{18})$" G "<0>000000000000000000</0>"
1843 "^([0-9]{6}[\s \-]{1}[0-9]{12}|[0-9]{18})$" "000000_000000000000"
1844 "^(([1-9])|(0[1-9])|(1[0-2]))\/((0[1-9])|([1-31]))\/((\d{2})|(\d{4}))$" G "<0>01/01/2001</0>"
1845 "^(([1-9])|(0[1-9])|(1[0-2]))\/((0[1-9])|([1-31]))\/((\d{2})|(\d{4}))$" G "<0>1/1/2001</0>"
1846 "^(([1-9])|(0[1-9])|(1[0-2]))\/((0[1-9])|([1-31]))\/((\d{2})|(\d{4}))$" G "<0>01/1/01</0>"
1847 "^(([1-9])|(0[1-9])|(1[0-2]))\/((0[1-9])|([1-31]))\/((\d{2})|(\d{4}))$" "13/01/2001"
1848 "^(([1-9])|(0[1-9])|(1[0-2]))\/((0[1-9])|([1-31]))\/((\d{2})|(\d{4}))$" "1/2/100"
1849 "^(([1-9])|(0[1-9])|(1[0-2]))\/((0[1-9])|([1-31]))\/((\d{2})|(\d{4}))$" "09/32/2001"
1850 "^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$" G "<0>$3,023,123.34</0>"
1851 "^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$" G "<0>9,876,453</0>"
1852 "^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$" G "<0>123456.78</0>"
1853 "^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$" "4,33,234.34"
1854 "^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$" "$1.234"
1855 "^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$" "abc"
1856 "^\d{5}$|^\d{5}-\d{4}$" G "<0>55555-5555</0>"
1857 "^\d{5}$|^\d{5}-\d{4}$" G "<0>34564-3342</0>"
1858 "^\d{5}$|^\d{5}-\d{4}$" G "<0>90210</0>"
1859 "^\d{5}$|^\d{5}-\d{4}$" "434454444"
1860 "^\d{5}$|^\d{5}-\d{4}$" "645-32-2345"
1861 "^\d{5}$|^\d{5}-\d{4}$" "abc"
1862 "^\d{3}-\d{2}-\d{4}$" G "<0>333-22-4444</0>"
1863 "^\d{3}-\d{2}-\d{4}$" G "<0>123-45-6789</0>"
1864 "^\d{3}-\d{2}-\d{4}$" "123456789"
1865 "^\d{3}-\d{2}-\d{4}$" "SSN"
1866 "^[2-9]\d{2}-\d{3}-\d{4}$" G "<0>800-555-5555</0>"
1867 "^[2-9]\d{2}-\d{3}-\d{4}$" G "<0>333-444-5555</0>"
1868 "^[2-9]\d{2}-\d{3}-\d{4}$" G "<0>212-666-1234</0>"
1869 "^[2-9]\d{2}-\d{3}-\d{4}$" "000-000-0000"
1870 "^[2-9]\d{2}-\d{3}-\d{4}$" "123-456-7890"
1871 "^[2-9]\d{2}-\d{3}-\d{4}$" "2126661234"
1872 "^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$" G "<0>44240</0>"
1873 "^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$" G "<0>44240-5555</0>"
1874 "^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$" G "<0>G3H 6A3</0>"
1875 "^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$" "Ohio"
1876 "^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$" "abc"
1877 "^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$" "g3h6a3"
1878 "[0-9]{4}\s*[a-zA-Z]{2}" G "<0>1054 WD</0>"
1879 "[0-9]{4}\s*[a-zA-Z]{2}" G "<0>1054WD</0>"
1880 "[0-9]{4}\s*[a-zA-Z]{2}" G "<0>1054 wd</0>"
1881 "[0-9]{4}\s*[a-zA-Z]{2}" "10543"
1882 "(^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>"
1883 "(^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>"
1884 "(^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>"
1885 "(^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"
1886 "(^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"
1887 "^((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>"
1888 "^((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>"
1889 "^((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>"
1890 "^((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/"
1891 "^((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/"
1892 "^((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"
1893 "([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})" G "<0>2002-11-03</0>"
1894 "([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})" G "<0>2007-17-08</0>"
1895 "([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})" G "<0>9999-99-99</0>"
1896 "([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})" "2002/17/18"
1897 "([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})" "2002.18.45"
1898 "([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})" "18.45.2002"
1899 "^\$?(\d{1,3}(\,\d{3})*|(\d+))(\.\d{0,2})?$" G "<0>$0,234.50</0>"
1900 "^\$?(\d{1,3}(\,\d{3})*|(\d+))(\.\d{0,2})?$" G "<0>0234.5</0>"
1901 "^\$?(\d{1,3}(\,\d{3})*|(\d+))(\.\d{0,2})?$" G "<0>0,234.</0>"
1902 "^\$?(\d{1,3}(\,\d{3})*|(\d+))(\.\d{0,2})?$" "$1,23,50"
1903 "^\$?(\d{1,3}(\,\d{3})*|(\d+))(\.\d{0,2})?$" "$123.123"
1904 "(^\d{5}-\d{3}|^\d{2}.\d{3}-\d{3}|\d{8})" G "<0>12.345-678</0>"
1905 "(^\d{5}-\d{3}|^\d{2}.\d{3}-\d{3}|\d{8})" G "<0>12345-678</0>"
1906 "(^\d{5}-\d{3}|^\d{2}.\d{3}-\d{3}|\d{8})" G "<0>12345678</0>"
1907 "(^\d{5}-\d{3}|^\d{2}.\d{3}-\d{3}|\d{8})" "12.345678"
1908 "(^\d{5}-\d{3}|^\d{2}.\d{3}-\d{3}|\d{8})" "12345-1"
1909 "(^\d{5}-\d{3}|^\d{2}.\d{3}-\d{3}|\d{8})" "123"
1910 '^([a-zA-Z]\:|\\)\\([^\\]+\\)*[^\/:*?"<>|]+\.htm(l)?$' G "<0>x:\\test\\testing.htm</0>"
1911 '^([a-zA-Z]\:|\\)\\([^\\]+\\)*[^\/:*?"<>|]+\.htm(l)?$' G "<0>x:\\test\\test#$ ing.html</0>"
1912 '^([a-zA-Z]\:|\\)\\([^\\]+\\)*[^\/:*?"<>|]+\.htm(l)?$' G "<0>\\\\test\testing.html</0>"
1913 '^([a-zA-Z]\:|\\)\\([^\\]+\\)*[^\/:*?"<>|]+\.htm(l)?$' "x:\test\test/ing.htm"
1914 '^([a-zA-Z]\:|\\)\\([^\\]+\\)*[^\/:*?"<>|]+\.htm(l)?$' "x:\test\test*.htm"
1915 '^([a-zA-Z]\:|\\)\\([^\\]+\\)*[^\/:*?"<>|]+\.htm(l)?$' "\\test?<.htm"
1916 "^[1-9]{1}[0-9]{3}$" G "<0>1234</0>"
1917 "^[1-9]{1}[0-9]{3}$" "123"
1918 "^[1-9]{1}[0-9]{3}$" "123A"
1919 "^[A-Z]{1}( |-)?[1-9]{1}[0-9]{3}$" G "<0>A-1234</0>"
1920 "^[A-Z]{1}( |-)?[1-9]{1}[0-9]{3}$" G "<0>A 1234</0>"
1921 "^[A-Z]{1}( |-)?[1-9]{1}[0-9]{3}$" G "<0>A1234</0>"
1922 "^[A-Z]{1}( |-)?[1-9]{1}[0-9]{3}$" "AA-1234"
1923 "^[A-Z]{1}( |-)?[1-9]{1}[0-9]{3}$" "A12345"
1924 "^(F-)?[0-9]{5}$" G "<0>12345</0>"
1925 "^(F-)?[0-9]{5}$" G "<0>F-12345</0>"
1926 "^(F-)?[0-9]{5}$" "F12345"
1927 "^(F-)?[0-9]{5}$" "F-123456"
1928 "^(F-)?[0-9]{5}$" "123456"
1929 "^(V-|I-)?[0-9]{4}$" G "<0>1234</0>"
1930 "^(V-|I-)?[0-9]{4}$" G "<0>V-1234</0>"
1931 "^(V-|I-)?[0-9]{4}$" "12345"
1932 "^[1-9]{1}[0-9]{3} ?[A-Z]{2}$" G "<0>1234 AB</0>"
1933 "^[1-9]{1}[0-9]{3} ?[A-Z]{2}$" G "<0>1234AB</0>"
1934 "^[1-9]{1}[0-9]{3} ?[A-Z]{2}$" "123AB"
1935 "^[1-9]{1}[0-9]{3} ?[A-Z]{2}$" "1234AAA"
1936 "^([1-9]{2}|[0-9][1-9]|[1-9][0-9])[0-9]{3}$" G "<0>12345</0>"
1937 "^([1-9]{2}|[0-9][1-9]|[1-9][0-9])[0-9]{3}$" G "<0>10234</0>"
1938 "^([1-9]{2}|[0-9][1-9]|[1-9][0-9])[0-9]{3}$" G "<0>01234</0>"
1939 "^([1-9]{2}|[0-9][1-9]|[1-9][0-9])[0-9]{3}$" "00123"
1940 "^(/w|/W|[^<>+?$%\{}\&])+$" G "<0>John Doe Sr.</0>"
1941 "^(/w|/W|[^<>+?$%\{}\&])+$" G "<0>100 Elm St., Suite 25</0>"
1942 "^(/w|/W|[^<>+?$%\{}\&])+$" G "<0>Valerie's Gift Shop</0>"
1943 "^(/w|/W|[^<>+?$%\{}\&])+$" "<h1>Hey</h1>"
1944 /<[a-zA-Z][^>]*\son\w+=(\w+|'[^']*'|"[^"]*")[^>]*>/ G '<0><IMG onmouseover="window.close()"></0>'
1945 /<[a-zA-Z][^>]*\son\w+=(\w+|'[^']*'|"[^"]*")[^>]*>/ '<IMG src="star.gif">'
1946 "(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,3})?$" G "<0>1</0>"
1947 "(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,3})?$" G "<0>12345.123</0>"
1948 "(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,3})?$" G "<0>0.5</0>"
1949 "(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,3})?$" "0"
1950 "(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,3})?$" "0.0"
1951 "(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,3})?$" "123456.1234"
1952 "^.+@[^\.].*\.[a-z]{2,}$" G "<0>whatever@somewhere.museum</0>"
1953 "^.+@[^\.].*\.[a-z]{2,}$" G "<0>foreignchars@myforeigncharsdomain.nu</0>"
1954 "^.+@[^\.].*\.[a-z]{2,}$" G "<0>me+mysomething@mydomain.com</0>"
1955 "^.+@[^\.].*\.[a-z]{2,}$" "a@b.c"
1956 "^.+@[^\.].*\.[a-z]{2,}$" "me@.my.com"
1957 "^.+@[^\.].*\.[a-z]{2,}$" "a@b.comFOREIGNCHAR"
1958 "^(\d{5}-\d{4}|\d{5})$" G "<0>12345</0>"
1959 "^(\d{5}-\d{4}|\d{5})$" G "<0>12345-1234</0>"
1960 "^(\d{5}-\d{4}|\d{5})$" "12345-12345"
1961 "^(\d{5}-\d{4}|\d{5})$" "123"
1962 "^(\d{5}-\d{4}|\d{5})$" "12345-abcd"
1963 "^(\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>"
1964 "^(\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>"
1965 "^(\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>"
1966 "^(\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"
1967 "^(\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"
1968 "^(\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."
1969 "<img([^>]*[^/])>" G '<0><img src="bob"></0>'
1970 "<img([^>]*[^/])>" '<img src="bob" />'
1971 "<!--[\s\S]*?-->" G "<0><!-- comments --></0>"
1972 "<!--[\s\S]*?-->" G "<0><!-- x = a > b - 3 --></0>"
1973 "<!--[\s\S]*?-->" "<COMMENTS>this is a comment</COMMENTS>"
1974 "<!--[\p{Zs}\P{Zs}]*?-->" G "<0><!-- comments --></0>"
1975 "<!--[\p{Zs}\P{Zs}]*?-->" G "<0><!-- x = a > b - 3 --></0>"
1976 "<!--[\p{Zs}\P{Zs}]*?-->" "<COMMENTS>this is a comment</COMMENTS>"
1977 /<\u002f?(\w+)(\s+\w+=(\w+|"[^"]*"|'[^']*'))*>/ G "<0><TD></0>"
1978 /<\u002f?(\w+)(\s+\w+=(\w+|"[^"]*"|'[^']*'))*>/ G '<0><TD bgColor="FFFFFF"></0>'
1979 /<\u002f?(\w+)(\s+\w+=(\w+|"[^"]*"|'[^']*'))*>/ G "<0></TD></0>"
1980 /<\u002f?(\w+)(\s+\w+=(\w+|"[^"]*"|'[^']*'))*>/ "No Tag Here ..."
1981 "(\{\\f\d*)\\([^;]+;)" G "<0>{\\f0\\Some Font names here;</0>"
1982 "(\{\\f\d*)\\([^;]+;)" G "<0>{\\f1\\fswiss\\fcharset0\\fprq2{\\*\\panose 020b0604020202020204}Arial;</0>"
1983 "(\{\\f\d*)\\([^;]+;)" G "{\\f"
1984 "(\{\\f\d*)\\([^;]+;)" "{f0fs20 some text}"
1985 #"</?([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!
1986 #"</?([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"
1987 "^([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>"
1988 "^([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>"
1989 "^([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>"
1990 "^([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"
1991 "^([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"
1992 "^([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"
1993 #"((?<strElement>(^[A-Z0-9-;=]*:))(?<strValue>(.*)))" G "<0>BEGIN:</0>" #named capture
1994 #"((?<strElement>(^[A-Z0-9-;=]*:))(?<strValue>(.*)))" G "<0>TEL;WORK;VOICE:</0>" #named capture
1995 #"((?<strElement>(^[A-Z0-9-;=]*:))(?<strValue>(.*)))" G "<0>TEL:</0>" #named capture
1996 #"((?<strElement>(^[A-Z0-9-;=]*:))(?<strValue>(.*)))" "begin:" #named capture
1997 #"((?<strElement>(^[A-Z0-9-;=]*:))(?<strValue>(.*)))" "TEL;PREF;" #named capture
1998 '^<a\s+href\s*=\s*"http:\/\/([^"]*)"([^>]*)>(.*?(?=<\/a>))<\/a>$' G '<0><a href="http://www.mysite.com">my external link</a></0>'
1999 '^<a\s+href\s*=\s*"http:\/\/([^"]*)"([^>]*)>(.*?(?=<\/a>))<\/a>$' G '<a href="http:/'
2000 '^<a\s+href\s*=\s*"http:\/\/([^"]*)"([^>]*)>(.*?(?=<\/a>))<\/a>$' '<a href="myinternalpage.html">my internal link</a>'
2001 "^([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>"
2002 "^([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>"
2003 "^([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>"
2004 "^([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"
2005 "^([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"
2006 "<blockquote>(?:\s*([^<]+)<br>\s*)+</blockquote>" G "<0><blockquote>string1<br>string2<br>string3<br></blockquote></0>"
2007 "<blockquote>(?:\s*([^<]+)<br>\s*)+</blockquote>" ".."
2008 "^((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>"
2009 "^((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>"
2010 "^((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>"
2011 "^((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"
2012 "^((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"
2013 '</?(\w+)(\s*\w*\s*=\s*("[^"]*"|\u0027[^\u0027]\u0027|[^>]*))*|/?>' G '<0><font color="blue"></0>'
2014 '</?(\w+)(\s*\w*\s*=\s*("[^"]*"|\u0027[^\u0027]\u0027|[^>]*))*|/?>' G "<0></font></0>"
2015 '</?(\w+)(\s*\w*\s*=\s*("[^"]*"|\u0027[^\u0027]\u0027|[^>]*))*|/?>' G "<0><br /></0>"
2016 '</?(\w+)(\s*\w*\s*=\s*("[^"]*"|\u0027[^\u0027]\u0027|[^>]*))*|/?>' "this is a test..."
2017 "^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$" G "<0>12:00am</0>"
2018 "^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$" G "<0>1:00 PM</0>"
2019 "^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$" G "<0> 12:59 pm</0>"
2020 "^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$" "0:00"
2021 "^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$" "0:01 am"
2022 "^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$" "13:00 pm"
2023 "\({1}[0-9]{3}\){1}\-{1}[0-9]{3}\-{1}[0-9]{4}" G "<0>(111)-111-1111</0>"
2024 "\({1}[0-9]{3}\){1}\-{1}[0-9]{3}\-{1}[0-9]{4}" "11111111111"
2025 "[^abc]" G "<0>def</0>"
2026 "[^abc]" "abc"
2027 "^(([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>"
2028 "^(([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>"
2029 "^(([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>"
2030 "^(([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"
2031 "^(([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"
2032 "^(([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"
2033 "^([1][12]|[0]?[1-9])[\/-]([3][01]|[12]\d|[0]?[1-9])[\/-](\d{4}|\d{2})$" G "<0>11-02-02</0>"
2034 "^([1][12]|[0]?[1-9])[\/-]([3][01]|[12]\d|[0]?[1-9])[\/-](\d{4}|\d{2})$" G "<0>1-25-2002</0>"
2035 "^([1][12]|[0]?[1-9])[\/-]([3][01]|[12]\d|[0]?[1-9])[\/-](\d{4}|\d{2})$" G "<0>01/25/2002</0>"
2036 "^([1][12]|[0]?[1-9])[\/-]([3][01]|[12]\d|[0]?[1-9])[\/-](\d{4}|\d{2})$" "13-02-02"
2037 "^([1][12]|[0]?[1-9])[\/-]([3][01]|[12]\d|[0]?[1-9])[\/-](\d{4}|\d{2})$" "11.02.02"
2038 "^([1][12]|[0]?[1-9])[\/-]([3][01]|[12]\d|[0]?[1-9])[\/-](\d{4}|\d{2})$" "11/32/2002"
2039 "(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])" G "<0>09:30:00</0>"
2040 "(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])" G "<0>17:45:20</0>"
2041 "(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])" G "<0>23:59:59</0>"
2042 "(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])" "24:00:00"
2043 "(((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>"
2044 "(((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>"
2045 "(((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>"
2046 "(((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"
2047 "(((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"
2048 "(((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"
2049 "^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>"
2050 "^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>"
2051 "^0[1-6]{1}(([0-9]{2}){4})|((\s[0-9]{2}){4})|((-[0-9]{2}){4})$" G "<0>0146708912</0>"
2052 "^0[1-6]{1}(([0-9]{2}){4})|((\s[0-9]{2}){4})|((-[0-9]{2}){4})$" "01-46708912"
2053 "^0[1-6]{1}(([0-9]{2}){4})|((\s[0-9]{2}){4})|((-[0-9]{2}){4})$" "01 46708912"
2054 "^0[1-6]{1}(([0-9]{2}){4})|((\s[0-9]{2}){4})|((-[0-9]{2}){4})$" "+33235256677"
2055 "^[0-9A-Za-z_ ]+(.[jJ][pP][gG]|.[gG][iI][fF])$" G "<0>good.gif</0>"
2056 "^[0-9A-Za-z_ ]+(.[jJ][pP][gG]|.[gG][iI][fF])$" G "<0>go d.GIf</0>"
2057 "^[0-9A-Za-z_ ]+(.[jJ][pP][gG]|.[gG][iI][fF])$" G "<0>goo_d.jPg</0>"
2058 "^[0-9A-Za-z_ ]+(.[jJ][pP][gG]|.[gG][iI][fF])$" "junk"
2059 "^[0-9A-Za-z_ ]+(.[jJ][pP][gG]|.[gG][iI][fF])$" "bad.bad.gif"
2060 "^[0-9A-Za-z_ ]+(.[jJ][pP][gG]|.[gG][iI][fF])$" "slash\gif."
2061 "<[^>\s]*\bauthor\b[^>]*>" G '<0><author name="Daniel"></0>'
2062 "<[^>\s]*\bauthor\b[^>]*>" G "<0></sch:author></0>"
2063 # "<[^>\s]*\bauthor\b[^>]*>" G '<0><pp:author name="Daniel"</0>' #Debug should work
2064 "<[^> ]*\bauthor\b[^>]*>" G "<0></sch:author></0>"
2065 "<[^> ]*\bauthor\b[^>]*>" G '<0><pp:author name="Daniel"></0>'
2066 "<[^>\s]*\bauthor\b[^>]*>" "<other>"
2067 "<[^>\s]*\bauthor\b[^>]*>" "</authors>"
2068 "<[^>\s]*\bauthor\b[^>]*>" "<work>author</work>"
2069 "^(?:(?:(?:(?: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>"
2070 "^(?:(?:(?:(?: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>"
2071 "^(?:(?:(?:(?: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>"
2072 "^(?:(?:(?:(?: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"
2073 "^(?:(?:(?:(?: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"
2074 "^(?:(?:(?:(?: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"
2075 '(\d*)\u0027*-*(\d*)/*(\d*)"' G '<0>5\u0027-3/16"</0>'
2076 '(\d*)\u0027*-*(\d*)/*(\d*)"' G '<0>1\u0027-2"</0>'
2077 '(\d*)\u0027*-*(\d*)/*(\d*)"' G '<0>5/16"</0>'
2078 '(\d*)\u0027*-*(\d*)/*(\d*)"' '1 3/16'
2079 "^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$" G "<0>1</0>"
2080 "^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$" G "<0>23</0>"
2081 "^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$" G "<0>50</0>"
2082 "^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$" "0"
2083 "^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$" "111"
2084 "^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$" "xyz"
2085 "^([ \u00c0-\u01ffa-zA-Z'])+$" G "<0>Jon Doe</0>"
2086 "^([ \u00c0-\u01ffa-zA-Z'])+$" G "<0>J\u00f8rn</0>"
2087 "^([ \u00c0-\u01ffa-zA-Z'])+$" G "<0>Mc'Neelan</0>"
2088 "^([ \u00c0-\u01ffa-zA-Z'])+$" "Henry); hacking attempt"
2089 "^((([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>"
2090 "^((([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>"
2091 "^((([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>"
2092 "^((([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"
2093 "^((([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"
2094 "^((([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"
2095 "(^\d*\.?\d*[1-9]+\d*$)|(^[1-9]+\d*\.\d*$)" G "<0>0.050</0>"
2096 "(^\d*\.?\d*[1-9]+\d*$)|(^[1-9]+\d*\.\d*$)" G "<0>5.0000</0>"
2097 "(^\d*\.?\d*[1-9]+\d*$)|(^[1-9]+\d*\.\d*$)" G "<0>5000</0>"
2098 "(^\d*\.?\d*[1-9]+\d*$)|(^[1-9]+\d*\.\d*$)" "0"
2099 "(^\d*\.?\d*[1-9]+\d*$)|(^[1-9]+\d*\.\d*$)" "0.0"
2100 "(^\d*\.?\d*[1-9]+\d*$)|(^[1-9]+\d*\.\d*$)" ".0"
2101 "^([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>"
2102 "^([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>"
2103 "^([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>"
2104 "^([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"
2105 "^([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"
2106 "^([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"
2107 "^\{?[a-fA-F\d]{8}-([a-fA-F\d]{4}-){3}[a-fA-F\d]{12}\}?$" G "<0>{e02ff0e4-00ad-090A-c030-0d00a0008ba0}</0>"
2108 "^\{?[a-fA-F\d]{8}-([a-fA-F\d]{4}-){3}[a-fA-F\d]{12}\}?$" G "<0>e02ff0e4-00ad-090A-c030-0d00a0008ba0</0>"
2109 "^\{?[a-fA-F\d]{8}-([a-fA-F\d]{4}-){3}[a-fA-F\d]{12}\}?$" "0xe02ff0e400ad090Ac0300d00a0008ba0"
2110 "^\{?[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}\}?$" G "<0>{e02ff0e4-00ad-090A-c030-0d00a0008ba0}</0>"
2111 "^\{?[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}\}?$" G "<0>e02ff0e4-00ad-090A-c030-0d00a0008ba0</0>"
2112 "^\{?[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}\}?$" "0xe02ff0e400ad090Ac0300d00a0008ba0"
2113 "^([a-zA-Z0-9@*#]{8,15})$" G "<0>@12X*567</0>"
2114 "^([a-zA-Z0-9@*#]{8,15})$" G "<0>1#Zv96g@*Yfasd4</0>"
2115 "^([a-zA-Z0-9@*#]{8,15})$" G "<0>#67jhgt@erd</0>"
2116 "^([a-zA-Z0-9@*#]{8,15})$" "$12X*567"
2117 "^([a-zA-Z0-9@*#]{8,15})$" "1#Zv_96"
2118 "^([a-zA-Z0-9@*#]{8,15})$" "+678jhgt@erd"
2119 '(("|\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>'
2120 '(("|\u0027)[a-z0-9\/\.\?\=\&]*(\.htm|\.asp|\.php|\.jsp)[a-z0-9\/\.\?\=\&]*("|\u0027))|(href=*?[a-z0-9\/\.\?\=\&"\u0027]*)' G '<0>href="NuclearTesting.htm"</0>'
2121 '(("|\u0027)[a-z0-9\/\.\?\=\&]*(\.htm|\.asp|\.php|\.jsp)[a-z0-9\/\.\?\=\&]*("|\u0027))|(href=*?[a-z0-9\/\.\?\=\&"\u0027]*)' 'U Suck'
2122 "^(((((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>"
2123 "^(((((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>"
2124 "^(((((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>"
2125 "^(((((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"
2126 "^(((((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"
2127 "^(((((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"
2128 "^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$" G "<0>123456.123456</0>"
2129 "^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$" G "<0>123456,123456</0>"
2130 "^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$" G "<0>123456</0>"
2131 "^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$" "123a.123"
2132 "^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$" "123a,123"
2133 "^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$" "a"
2134 "^(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>"
2135 "^(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>"
2136 "^(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>"
2137 "^(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"
2138 "^(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"
2139 "^(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"
2140 "^[+]?\d*$" G "<0>0123456789</0>"
2141 "^[+]?\d*$" G "<0>1234</0>"
2142 "^[+]?\d*$" G "<0>1</0>"
2143 "^[+]?\d*$" "1.0?&"
2144 "^[+]?\d*$" "a1"
2145 "^[+]?\d*$" "2a-"
2146 #/<[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
2147 #/<[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.
2148 "^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$" G "<0>0:00</0>"
2149 "^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$" G "<0>23:00</0>"
2150 "^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$" G "<0>00:59</0>"
2151 "^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$" "0:0"
2152 "^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$" "24:00"
2153 "^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$" "00:60"
2154 "^((0[1-9])|(1[0-2]))\/(\d{2})$" G "<0>11/03</0>"
2155 "^((0[1-9])|(1[0-2]))\/(\d{2})$" G "<0>01/04</0>"
2156 "^((0[1-9])|(1[0-2]))\/(\d{2})$" "13/03"
2157 "^((0[1-9])|(1[0-2]))\/(\d{2})$" "10/2003"
2158 "<script[^>]*>[\w|\t|\r|\W]*</script>" G '<0><script language=javascript>document.write("one");</script></0>'
2159 "<script[^>]*>[\w|\t|\r|\W]*</script>" "--"
2160 "<script[^>]*>[\w|\t|\r|\W]*</script>" "A-Z][a-z]+"
2161 #"<script[^>]*>[\w|\t|\r|\W]*</script>" G "<0>strFirstName</0>" # Test Case damaged?
2162 #"<script[^>]*>[\w|\t|\r|\W]*</script>" G "<0>intAgeInYears</0>" # Test Case damaged?
2163 #"<script[^>]*>[\w|\t|\r|\W]*</script>" G "<0>Where the Wild Things Are</0>" # Test Case damaged?
2164 "<script[^>]*>[\w|\t|\r|\W]*</script>" "123"
2165 "<script[^>]*>[\w|\t|\r|\W]*</script>" "abc"
2166 "<script[^>]*>[\w|\t|\r|\W]*</script>" "this has no caps in it"
2167 "(^-\d*\.?\d*[1-9]+\d*$)|(^-[1-9]+\d*\.\d*$)" G "<0>-0.050</0>"
2168 "(^-\d*\.?\d*[1-9]+\d*$)|(^-[1-9]+\d*\.\d*$)" G "<0>-5.000</0>"
2169 "(^-\d*\.?\d*[1-9]+\d*$)|(^-[1-9]+\d*\.\d*$)" G "<0>-5</0>"
2170 "(^-\d*\.?\d*[1-9]+\d*$)|(^-[1-9]+\d*\.\d*$)" "0"
2171 "(^-\d*\.?\d*[1-9]+\d*$)|(^-[1-9]+\d*\.\d*$)" "0.0"
2172 "(^-\d*\.?\d*[1-9]+\d*$)|(^-[1-9]+\d*\.\d*$)" ".0"
2173 "^([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>"
2174 "^([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>"
2175 "^([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"
2176 "^([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"
2177 "^(\d|,)*\.?\d*$" G "<0>1,000</0>"
2178 "^(\d|,)*\.?\d*$" G "<0>3,000.05</0>"
2179 "^(\d|,)*\.?\d*$" G "<0>5,000,000</0>"
2180 "^(\d|,)*\.?\d*$" "abc"
2181 "^(\d|,)*\.?\d*$" "$100,000"
2182 "^(\d|,)*\.?\d*$" "Forty"
2183 "^\d$" G "<0>1</0>"
2184 "^\d$" G "<0>2</0>"
2185 "^\d$" G "<0>3</0>"
2186 "^\d$" "a"
2187 "^\d$" "324"
2188 "^\d$" "num"
2189 "^[0-9]+$" G "<0>1234567890</0>"
2190 "^[0-9]+$" G "<0>1234567890</0>"
2191 "^[0-9]+$" G "<0>1234567890</0>"
2192 "^[0-9]+$" "http://none"
2193 "^[0-9]+$" "http://none"
2194 "^[0-9]+$" "http://none"
2195 "^.{4,8}$" G "<0>asdf</0>"
2196 "^.{4,8}$" G "<0>1234</0>"
2197 "^.{4,8}$" G "<0>asdf1234</0>"
2198 "^.{4,8}$" "asd"
2199 "^.{4,8}$" "123"
2200 "^.{4,8}$" "asdfe12345"
2201 "^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$" G "<0>a@a.com</0>"
2202 "^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$" G "<0>a@a.com.au</0>"
2203 "^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$" G "<0>a@a.au</0>"
2204 "^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$" "word"
2205 "^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$" "word@"
2206 "^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$" "@word"
2207 "^\d{5}-\d{4}$" G "<0>22222-3333</0>"
2208 "^\d{5}-\d{4}$" G "<0>34545-2367</0>"
2209 "^\d{5}-\d{4}$" G "<0>56334-2343</0>"
2210 "^\d{5}-\d{4}$" "123456789"
2211 "^\d{5}-\d{4}$" "A3B 4C5"
2212 "^\d{5}-\d{4}$" "55335"
2213 "(a|b|c).(a.b)*.b+.c" G "<0>autbfc</0>"
2214 "(a|b|c).(a.b)*.b+.c" "attc"
2215 '"((\\")|[^"(\\")])+"' G '<0>"test"</0>'
2216 '"((\\")|[^"(\\")])+"' G '<0>"escape\"quote"</0>'
2217 '"((\\")|[^"(\\")])+"' G '<0>"\\""</0>'
2218 '"((\\")|[^"(\\")])+"' "test"
2219 '"((\\")|[^"(\\")])+"' '"test'
2220 '"((\\")|[^"(\\")])+"' '""test\\"'
2221 "((0[1-9])|(1[02]))/\d{2}" G "<0>01/00</0>"
2222 "((0[1-9])|(1[02]))/\d{2}" G "<0>12/99</0>"
2223 "((0[1-9])|(1[02]))/\d{2}" "13/00"
2224 "((0[1-9])|(1[02]))/\d{2}" "12/AS"
2225 "^[a-zA-Z]$" G "<0>a</0>"
2226 "^[a-zA-Z]$" G "<0>B</0>"
2227 "^[a-zA-Z]$" G "<0>c</0>"
2228 "^[a-zA-Z]$" "0"
2229 "^[a-zA-Z]$" "&"
2230 "^[a-zA-Z]$" "AbC"
2231 "^[a-zA-Z]+$" G "<0>abc</0>"
2232 "^[a-zA-Z]+$" G "<0>ABC</0>"
2233 "^[a-zA-Z]+$" G "<0>aBcDeF</0>"
2234 "^[a-zA-Z]+$" "abc123"
2235 "^[a-zA-Z]+$" "mr."
2236 "^[a-zA-Z]+$" "a word"
2237 "^\s*[a-zA-Z,\p{Zs}]+\s*$" G "<0>Smith, Ed</0>"
2238 "^\s*[a-zA-Z,\p{Zs}]+\s*$" G "<0>Ed Smith</0>"
2239 "^\s*[a-zA-Z,\p{Zs}]+\s*$" G "<0>aBcDeFgH</0>"
2240 "^\s*[a-zA-Z,\p{Zs}]+\s*$" "a123"
2241 "^\s*[a-zA-Z,\p{Zs}]+\s*$" "AB5"
2242 "^\s*[a-zA-Z,\p{Zs}]+\s*$" "Mr. Ed"
2243 "(\w+?@\w+?\u002E.+)" G "<0>bob@vsnl.com</0>"
2244 "(\w+?@\w+?\u002E.+)" "[AABB]"
2245 "^\d+$" G "<0>123</0>"
2246 "^\d+$" G "<0>10</0>"
2247 "^\d+$" G "<0>54</0>"
2248 "^\d+$" "-54"
2249 "^\d+$" "54.234"
2250 "^\d+$" "abc"
2251 "^(\+|-)?\d+$" G "<0>-34</0>"
2252 "^(\+|-)?\d+$" G "<0>34</0>"
2253 "^(\+|-)?\d+$" G "<0>+5</0>"
2254 "^(\+|-)?\d+$" "abc"
2255 "^(\+|-)?\d+$" "3.1415"
2256 "^(\+|-)?\d+$" "-5.3"
2257 "foo" G "<0>foo</0>"
2258 "foo" "bar"
2259 "^[1-5]$" G "<0>1</0>"
2260 "^[1-5]$" G "<0>3</0>"
2261 "^[1-5]$" G "<0>4</0>"
2262 "^[1-5]$" "6"
2263 "^[1-5]$" "23"
2264 "^[1-5]$" "a"
2265 "^[12345]$" G "<0>1</0>"
2266 "^[12345]$" G "<0>2</0>"
2267 "^[12345]$" G "<0>4</0>"
2268 "^[12345]$" "6"
2269 "^[12345]$" "-1"
2270 "^[12345]$" "abc"
2271 "^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" G "<0>joe@aol.com</0>"
2272 "^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" G "<0>joe@wrox.co.uk</0>"
2273 "^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" G "<0>joe@domain.info</0>"
2274 "^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" "a@b"
2275 "^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" "notanemail"
2276 "^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" "joe@@."
2277 "^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" G "<0>joe@aol.com</0>"
2278 "^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" G "<0>ssmith@aspalliance.com</0>"
2279 "^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" G "<0>a@b.cc</0>"
2280 "^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" "joe@123aspx.com"
2281 "^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" "joe@web.info"
2282 "^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" "joe@company.co.uk"
2283 "[\w-]+@([\w-]+\.)+[\w-]+" G "<0>joe@aol.com</0>"
2284 "[\w-]+@([\w-]+\.)+[\w-]+" G "<0>a@b.c</0>"
2285 "[\w-]+@([\w-]+\.)+[\w-]+" "asdf"
2286 "[\w-]+@([\w-]+\.)+[\w-]+" "1234"
2287 "\d{4}-?\d{4}-?\d{4}-?\d{4}" G "<0>1234-1234-1234-1234</0>"
2288 "\d{4}-?\d{4}-?\d{4}-?\d{4}" G "<0>1234123412341234</0>"
2289 "\d{4}-?\d{4}-?\d{4}-?\d{4}" "1234123412345"
2290 "^\d{5}$" G "<0>33333</0>"
2291 "^\d{5}$" G "<0>55555</0>"
2292 "^\d{5}$" G "<0>23445</0>"
2293 "^\d{5}$" "abcd"
2294 "^\d{5}$" "1324"
2295 "^\d{5}$" "as;lkjdf"
2296 "(\w+)\s+\1" G "<0>hubba hubba</0>"
2297 "(\w+)\s+\1" G "<0>mandate dated</0>"
2298 "(\w+)\s+\1" G "<0>an annual</0>"
2299 "(\w+)\s+\1" "may day"
2300 "(\w+)\s+\1" "gogo"
2301 "(\w+)\s+\1" "1212"
2302 "^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" G "<0>3SquareBand.com</0>"
2303 "^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" G "<0>asp.net</0>"
2304 "^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" G "<0>army.mil</0>"
2305 "^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" "$SquareBand.com"
2306 "^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" "asp/dot.net"
2307 "^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$" "army.military"
2308