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