1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/tools/pcre/testdata/testinput1 Tue Jul 28 17:51:34 2009 -0400
1.3 @@ -0,0 +1,4067 @@
1.4 +/the quick brown fox/
1.5 + the quick brown fox
1.6 + The quick brown FOX
1.7 + What do you know about the quick brown fox?
1.8 + What do you know about THE QUICK BROWN FOX?
1.9 +
1.10 +/The quick brown fox/i
1.11 + the quick brown fox
1.12 + The quick brown FOX
1.13 + What do you know about the quick brown fox?
1.14 + What do you know about THE QUICK BROWN FOX?
1.15 +
1.16 +/abcd\t\n\r\f\a\e\071\x3b\$\\\?caxyz/
1.17 + abcd\t\n\r\f\a\e9;\$\\?caxyz
1.18 +
1.19 +/a*abc?xyz+pqr{3}ab{2,}xy{4,5}pq{0,6}AB{0,}zz/
1.20 + abxyzpqrrrabbxyyyypqAzz
1.21 + abxyzpqrrrabbxyyyypqAzz
1.22 + aabxyzpqrrrabbxyyyypqAzz
1.23 + aaabxyzpqrrrabbxyyyypqAzz
1.24 + aaaabxyzpqrrrabbxyyyypqAzz
1.25 + abcxyzpqrrrabbxyyyypqAzz
1.26 + aabcxyzpqrrrabbxyyyypqAzz
1.27 + aaabcxyzpqrrrabbxyyyypAzz
1.28 + aaabcxyzpqrrrabbxyyyypqAzz
1.29 + aaabcxyzpqrrrabbxyyyypqqAzz
1.30 + aaabcxyzpqrrrabbxyyyypqqqAzz
1.31 + aaabcxyzpqrrrabbxyyyypqqqqAzz
1.32 + aaabcxyzpqrrrabbxyyyypqqqqqAzz
1.33 + aaabcxyzpqrrrabbxyyyypqqqqqqAzz
1.34 + aaaabcxyzpqrrrabbxyyyypqAzz
1.35 + abxyzzpqrrrabbxyyyypqAzz
1.36 + aabxyzzzpqrrrabbxyyyypqAzz
1.37 + aaabxyzzzzpqrrrabbxyyyypqAzz
1.38 + aaaabxyzzzzpqrrrabbxyyyypqAzz
1.39 + abcxyzzpqrrrabbxyyyypqAzz
1.40 + aabcxyzzzpqrrrabbxyyyypqAzz
1.41 + aaabcxyzzzzpqrrrabbxyyyypqAzz
1.42 + aaaabcxyzzzzpqrrrabbxyyyypqAzz
1.43 + aaaabcxyzzzzpqrrrabbbxyyyypqAzz
1.44 + aaaabcxyzzzzpqrrrabbbxyyyyypqAzz
1.45 + aaabcxyzpqrrrabbxyyyypABzz
1.46 + aaabcxyzpqrrrabbxyyyypABBzz
1.47 + >>>aaabxyzpqrrrabbxyyyypqAzz
1.48 + >aaaabxyzpqrrrabbxyyyypqAzz
1.49 + >>>>abcxyzpqrrrabbxyyyypqAzz
1.50 + *** Failers
1.51 + abxyzpqrrabbxyyyypqAzz
1.52 + abxyzpqrrrrabbxyyyypqAzz
1.53 + abxyzpqrrrabxyyyypqAzz
1.54 + aaaabcxyzzzzpqrrrabbbxyyyyyypqAzz
1.55 + aaaabcxyzzzzpqrrrabbbxyyypqAzz
1.56 + aaabcxyzpqrrrabbxyyyypqqqqqqqAzz
1.57 +
1.58 +/^(abc){1,2}zz/
1.59 + abczz
1.60 + abcabczz
1.61 + *** Failers
1.62 + zz
1.63 + abcabcabczz
1.64 + >>abczz
1.65 +
1.66 +/^(b+?|a){1,2}?c/
1.67 + bc
1.68 + bbc
1.69 + bbbc
1.70 + bac
1.71 + bbac
1.72 + aac
1.73 + abbbbbbbbbbbc
1.74 + bbbbbbbbbbbac
1.75 + *** Failers
1.76 + aaac
1.77 + abbbbbbbbbbbac
1.78 +
1.79 +/^(b+|a){1,2}c/
1.80 + bc
1.81 + bbc
1.82 + bbbc
1.83 + bac
1.84 + bbac
1.85 + aac
1.86 + abbbbbbbbbbbc
1.87 + bbbbbbbbbbbac
1.88 + *** Failers
1.89 + aaac
1.90 + abbbbbbbbbbbac
1.91 +
1.92 +/^(b+|a){1,2}?bc/
1.93 + bbc
1.94 +
1.95 +/^(b*|ba){1,2}?bc/
1.96 + babc
1.97 + bbabc
1.98 + bababc
1.99 + *** Failers
1.100 + bababbc
1.101 + babababc
1.102 +
1.103 +/^(ba|b*){1,2}?bc/
1.104 + babc
1.105 + bbabc
1.106 + bababc
1.107 + *** Failers
1.108 + bababbc
1.109 + babababc
1.110 +
1.111 +/^\ca\cA\c[\c{\c:/
1.112 + \x01\x01\e;z
1.113 +
1.114 +/^[ab\]cde]/
1.115 + athing
1.116 + bthing
1.117 + ]thing
1.118 + cthing
1.119 + dthing
1.120 + ething
1.121 + *** Failers
1.122 + fthing
1.123 + [thing
1.124 + \\thing
1.125 +
1.126 +/^[]cde]/
1.127 + ]thing
1.128 + cthing
1.129 + dthing
1.130 + ething
1.131 + *** Failers
1.132 + athing
1.133 + fthing
1.134 +
1.135 +/^[^ab\]cde]/
1.136 + fthing
1.137 + [thing
1.138 + \\thing
1.139 + *** Failers
1.140 + athing
1.141 + bthing
1.142 + ]thing
1.143 + cthing
1.144 + dthing
1.145 + ething
1.146 +
1.147 +/^[^]cde]/
1.148 + athing
1.149 + fthing
1.150 + *** Failers
1.151 + ]thing
1.152 + cthing
1.153 + dthing
1.154 + ething
1.155 +
1.156 +/^\�/
1.157 + �
1.158 +
1.159 +/^�/
1.160 + �
1.161 +
1.162 +/^[0-9]+$/
1.163 + 0
1.164 + 1
1.165 + 2
1.166 + 3
1.167 + 4
1.168 + 5
1.169 + 6
1.170 + 7
1.171 + 8
1.172 + 9
1.173 + 10
1.174 + 100
1.175 + *** Failers
1.176 + abc
1.177 +
1.178 +/^.*nter/
1.179 + enter
1.180 + inter
1.181 + uponter
1.182 +
1.183 +/^xxx[0-9]+$/
1.184 + xxx0
1.185 + xxx1234
1.186 + *** Failers
1.187 + xxx
1.188 +
1.189 +/^.+[0-9][0-9][0-9]$/
1.190 + x123
1.191 + xx123
1.192 + 123456
1.193 + *** Failers
1.194 + 123
1.195 + x1234
1.196 +
1.197 +/^.+?[0-9][0-9][0-9]$/
1.198 + x123
1.199 + xx123
1.200 + 123456
1.201 + *** Failers
1.202 + 123
1.203 + x1234
1.204 +
1.205 +/^([^!]+)!(.+)=apquxz\.ixr\.zzz\.ac\.uk$/
1.206 + abc!pqr=apquxz.ixr.zzz.ac.uk
1.207 + *** Failers
1.208 + !pqr=apquxz.ixr.zzz.ac.uk
1.209 + abc!=apquxz.ixr.zzz.ac.uk
1.210 + abc!pqr=apquxz:ixr.zzz.ac.uk
1.211 + abc!pqr=apquxz.ixr.zzz.ac.ukk
1.212 +
1.213 +/:/
1.214 + Well, we need a colon: somewhere
1.215 + *** Fail if we don't
1.216 +
1.217 +/([\da-f:]+)$/i
1.218 + 0abc
1.219 + abc
1.220 + fed
1.221 + E
1.222 + ::
1.223 + 5f03:12C0::932e
1.224 + fed def
1.225 + Any old stuff
1.226 + *** Failers
1.227 + 0zzz
1.228 + gzzz
1.229 + fed\x20
1.230 + Any old rubbish
1.231 +
1.232 +/^.*\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/
1.233 + .1.2.3
1.234 + A.12.123.0
1.235 + *** Failers
1.236 + .1.2.3333
1.237 + 1.2.3
1.238 + 1234.2.3
1.239 +
1.240 +/^(\d+)\s+IN\s+SOA\s+(\S+)\s+(\S+)\s*\(\s*$/
1.241 + 1 IN SOA non-sp1 non-sp2(
1.242 + 1 IN SOA non-sp1 non-sp2 (
1.243 + *** Failers
1.244 + 1IN SOA non-sp1 non-sp2(
1.245 +
1.246 +/^[a-zA-Z\d][a-zA-Z\d\-]*(\.[a-zA-Z\d][a-zA-z\d\-]*)*\.$/
1.247 + a.
1.248 + Z.
1.249 + 2.
1.250 + ab-c.pq-r.
1.251 + sxk.zzz.ac.uk.
1.252 + x-.y-.
1.253 + *** Failers
1.254 + -abc.peq.
1.255 +
1.256 +/^\*\.[a-z]([a-z\-\d]*[a-z\d]+)?(\.[a-z]([a-z\-\d]*[a-z\d]+)?)*$/
1.257 + *.a
1.258 + *.b0-a
1.259 + *.c3-b.c
1.260 + *.c-a.b-c
1.261 + *** Failers
1.262 + *.0
1.263 + *.a-
1.264 + *.a-b.c-
1.265 + *.c-a.0-c
1.266 +
1.267 +/^(?=ab(de))(abd)(e)/
1.268 + abde
1.269 +
1.270 +/^(?!(ab)de|x)(abd)(f)/
1.271 + abdf
1.272 +
1.273 +/^(?=(ab(cd)))(ab)/
1.274 + abcd
1.275 +
1.276 +/^[\da-f](\.[\da-f])*$/i
1.277 + a.b.c.d
1.278 + A.B.C.D
1.279 + a.b.c.1.2.3.C
1.280 +
1.281 +/^\".*\"\s*(;.*)?$/
1.282 + \"1234\"
1.283 + \"abcd\" ;
1.284 + \"\" ; rhubarb
1.285 + *** Failers
1.286 + \"1234\" : things
1.287 +
1.288 +/^$/
1.289 + \
1.290 + *** Failers
1.291 +
1.292 +/ ^ a (?# begins with a) b\sc (?# then b c) $ (?# then end)/x
1.293 + ab c
1.294 + *** Failers
1.295 + abc
1.296 + ab cde
1.297 +
1.298 +/(?x) ^ a (?# begins with a) b\sc (?# then b c) $ (?# then end)/
1.299 + ab c
1.300 + *** Failers
1.301 + abc
1.302 + ab cde
1.303 +
1.304 +/^ a\ b[c ]d $/x
1.305 + a bcd
1.306 + a b d
1.307 + *** Failers
1.308 + abcd
1.309 + ab d
1.310 +
1.311 +/^(a(b(c)))(d(e(f)))(h(i(j)))(k(l(m)))$/
1.312 + abcdefhijklm
1.313 +
1.314 +/^(?:a(b(c)))(?:d(e(f)))(?:h(i(j)))(?:k(l(m)))$/
1.315 + abcdefhijklm
1.316 +
1.317 +/^[\w][\W][\s][\S][\d][\D][\b][\n][\c]][\022]/
1.318 + a+ Z0+\x08\n\x1d\x12
1.319 +
1.320 +/^[.^$|()*+?{,}]+/
1.321 + .^\$(*+)|{?,?}
1.322 +
1.323 +/^a*\w/
1.324 + z
1.325 + az
1.326 + aaaz
1.327 + a
1.328 + aa
1.329 + aaaa
1.330 + a+
1.331 + aa+
1.332 +
1.333 +/^a*?\w/
1.334 + z
1.335 + az
1.336 + aaaz
1.337 + a
1.338 + aa
1.339 + aaaa
1.340 + a+
1.341 + aa+
1.342 +
1.343 +/^a+\w/
1.344 + az
1.345 + aaaz
1.346 + aa
1.347 + aaaa
1.348 + aa+
1.349 +
1.350 +/^a+?\w/
1.351 + az
1.352 + aaaz
1.353 + aa
1.354 + aaaa
1.355 + aa+
1.356 +
1.357 +/^\d{8}\w{2,}/
1.358 + 1234567890
1.359 + 12345678ab
1.360 + 12345678__
1.361 + *** Failers
1.362 + 1234567
1.363 +
1.364 +/^[aeiou\d]{4,5}$/
1.365 + uoie
1.366 + 1234
1.367 + 12345
1.368 + aaaaa
1.369 + *** Failers
1.370 + 123456
1.371 +
1.372 +/^[aeiou\d]{4,5}?/
1.373 + uoie
1.374 + 1234
1.375 + 12345
1.376 + aaaaa
1.377 + 123456
1.378 +
1.379 +/\A(abc|def)=(\1){2,3}\Z/
1.380 + abc=abcabc
1.381 + def=defdefdef
1.382 + *** Failers
1.383 + abc=defdef
1.384 +
1.385 +/^(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)\11*(\3\4)\1(?#)2$/
1.386 + abcdefghijkcda2
1.387 + abcdefghijkkkkcda2
1.388 +
1.389 +/(cat(a(ract|tonic)|erpillar)) \1()2(3)/
1.390 + cataract cataract23
1.391 + catatonic catatonic23
1.392 + caterpillar caterpillar23
1.393 +
1.394 +
1.395 +/^From +([^ ]+) +[a-zA-Z][a-zA-Z][a-zA-Z] +[a-zA-Z][a-zA-Z][a-zA-Z] +[0-9]?[0-9] +[0-9][0-9]:[0-9][0-9]/
1.396 + From abcd Mon Sep 01 12:33:02 1997
1.397 +
1.398 +/^From\s+\S+\s+([a-zA-Z]{3}\s+){2}\d{1,2}\s+\d\d:\d\d/
1.399 + From abcd Mon Sep 01 12:33:02 1997
1.400 + From abcd Mon Sep 1 12:33:02 1997
1.401 + *** Failers
1.402 + From abcd Sep 01 12:33:02 1997
1.403 +
1.404 +/^12.34/s
1.405 + 12\n34
1.406 + 12\r34
1.407 +
1.408 +/\w+(?=\t)/
1.409 + the quick brown\t fox
1.410 +
1.411 +/foo(?!bar)(.*)/
1.412 + foobar is foolish see?
1.413 +
1.414 +/(?:(?!foo)...|^.{0,2})bar(.*)/
1.415 + foobar crowbar etc
1.416 + barrel
1.417 + 2barrel
1.418 + A barrel
1.419 +
1.420 +/^(\D*)(?=\d)(?!123)/
1.421 + abc456
1.422 + *** Failers
1.423 + abc123
1.424 +
1.425 +/^1234(?# test newlines
1.426 + inside)/
1.427 + 1234
1.428 +
1.429 +/^1234 #comment in extended re
1.430 + /x
1.431 + 1234
1.432 +
1.433 +/#rhubarb
1.434 + abcd/x
1.435 + abcd
1.436 +
1.437 +/^abcd#rhubarb/x
1.438 + abcd
1.439 +
1.440 +/^(a)\1{2,3}(.)/
1.441 + aaab
1.442 + aaaab
1.443 + aaaaab
1.444 + aaaaaab
1.445 +
1.446 +/(?!^)abc/
1.447 + the abc
1.448 + *** Failers
1.449 + abc
1.450 +
1.451 +/(?=^)abc/
1.452 + abc
1.453 + *** Failers
1.454 + the abc
1.455 +
1.456 +/^[ab]{1,3}(ab*|b)/
1.457 + aabbbbb
1.458 +
1.459 +/^[ab]{1,3}?(ab*|b)/
1.460 + aabbbbb
1.461 +
1.462 +/^[ab]{1,3}?(ab*?|b)/
1.463 + aabbbbb
1.464 +
1.465 +/^[ab]{1,3}(ab*?|b)/
1.466 + aabbbbb
1.467 +
1.468 +/ (?: [\040\t] | \(
1.469 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.470 +\) )* # optional leading comment
1.471 +(?: (?:
1.472 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.473 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.474 +|
1.475 +" (?: # opening quote...
1.476 +[^\\\x80-\xff\n\015"] # Anything except backslash and quote
1.477 +| # or
1.478 +\\ [^\x80-\xff] # Escaped something (something != CR)
1.479 +)* " # closing quote
1.480 +) # initial word
1.481 +(?: (?: [\040\t] | \(
1.482 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.483 +\) )* \. (?: [\040\t] | \(
1.484 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.485 +\) )* (?:
1.486 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.487 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.488 +|
1.489 +" (?: # opening quote...
1.490 +[^\\\x80-\xff\n\015"] # Anything except backslash and quote
1.491 +| # or
1.492 +\\ [^\x80-\xff] # Escaped something (something != CR)
1.493 +)* " # closing quote
1.494 +) )* # further okay, if led by a period
1.495 +(?: [\040\t] | \(
1.496 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.497 +\) )* @ (?: [\040\t] | \(
1.498 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.499 +\) )* (?:
1.500 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.501 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.502 +| \[ # [
1.503 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.504 +\] # ]
1.505 +) # initial subdomain
1.506 +(?: #
1.507 +(?: [\040\t] | \(
1.508 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.509 +\) )* \. # if led by a period...
1.510 +(?: [\040\t] | \(
1.511 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.512 +\) )* (?:
1.513 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.514 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.515 +| \[ # [
1.516 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.517 +\] # ]
1.518 +) # ...further okay
1.519 +)*
1.520 +# address
1.521 +| # or
1.522 +(?:
1.523 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.524 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.525 +|
1.526 +" (?: # opening quote...
1.527 +[^\\\x80-\xff\n\015"] # Anything except backslash and quote
1.528 +| # or
1.529 +\\ [^\x80-\xff] # Escaped something (something != CR)
1.530 +)* " # closing quote
1.531 +) # one word, optionally followed by....
1.532 +(?:
1.533 +[^()<>@,;:".\\\[\]\x80-\xff\000-\010\012-\037] | # atom and space parts, or...
1.534 +\(
1.535 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.536 +\) | # comments, or...
1.537 +
1.538 +" (?: # opening quote...
1.539 +[^\\\x80-\xff\n\015"] # Anything except backslash and quote
1.540 +| # or
1.541 +\\ [^\x80-\xff] # Escaped something (something != CR)
1.542 +)* " # closing quote
1.543 +# quoted strings
1.544 +)*
1.545 +< (?: [\040\t] | \(
1.546 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.547 +\) )* # leading <
1.548 +(?: @ (?: [\040\t] | \(
1.549 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.550 +\) )* (?:
1.551 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.552 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.553 +| \[ # [
1.554 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.555 +\] # ]
1.556 +) # initial subdomain
1.557 +(?: #
1.558 +(?: [\040\t] | \(
1.559 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.560 +\) )* \. # if led by a period...
1.561 +(?: [\040\t] | \(
1.562 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.563 +\) )* (?:
1.564 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.565 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.566 +| \[ # [
1.567 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.568 +\] # ]
1.569 +) # ...further okay
1.570 +)*
1.571 +
1.572 +(?: (?: [\040\t] | \(
1.573 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.574 +\) )* , (?: [\040\t] | \(
1.575 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.576 +\) )* @ (?: [\040\t] | \(
1.577 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.578 +\) )* (?:
1.579 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.580 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.581 +| \[ # [
1.582 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.583 +\] # ]
1.584 +) # initial subdomain
1.585 +(?: #
1.586 +(?: [\040\t] | \(
1.587 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.588 +\) )* \. # if led by a period...
1.589 +(?: [\040\t] | \(
1.590 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.591 +\) )* (?:
1.592 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.593 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.594 +| \[ # [
1.595 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.596 +\] # ]
1.597 +) # ...further okay
1.598 +)*
1.599 +)* # further okay, if led by comma
1.600 +: # closing colon
1.601 +(?: [\040\t] | \(
1.602 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.603 +\) )* )? # optional route
1.604 +(?:
1.605 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.606 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.607 +|
1.608 +" (?: # opening quote...
1.609 +[^\\\x80-\xff\n\015"] # Anything except backslash and quote
1.610 +| # or
1.611 +\\ [^\x80-\xff] # Escaped something (something != CR)
1.612 +)* " # closing quote
1.613 +) # initial word
1.614 +(?: (?: [\040\t] | \(
1.615 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.616 +\) )* \. (?: [\040\t] | \(
1.617 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.618 +\) )* (?:
1.619 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.620 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.621 +|
1.622 +" (?: # opening quote...
1.623 +[^\\\x80-\xff\n\015"] # Anything except backslash and quote
1.624 +| # or
1.625 +\\ [^\x80-\xff] # Escaped something (something != CR)
1.626 +)* " # closing quote
1.627 +) )* # further okay, if led by a period
1.628 +(?: [\040\t] | \(
1.629 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.630 +\) )* @ (?: [\040\t] | \(
1.631 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.632 +\) )* (?:
1.633 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.634 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.635 +| \[ # [
1.636 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.637 +\] # ]
1.638 +) # initial subdomain
1.639 +(?: #
1.640 +(?: [\040\t] | \(
1.641 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.642 +\) )* \. # if led by a period...
1.643 +(?: [\040\t] | \(
1.644 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.645 +\) )* (?:
1.646 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.647 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.648 +| \[ # [
1.649 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.650 +\] # ]
1.651 +) # ...further okay
1.652 +)*
1.653 +# address spec
1.654 +(?: [\040\t] | \(
1.655 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.656 +\) )* > # trailing >
1.657 +# name and address
1.658 +) (?: [\040\t] | \(
1.659 +(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
1.660 +\) )* # optional trailing comment
1.661 +/x
1.662 + Alan Other <user\@dom.ain>
1.663 + <user\@dom.ain>
1.664 + user\@dom.ain
1.665 + \"A. Other\" <user.1234\@dom.ain> (a comment)
1.666 + A. Other <user.1234\@dom.ain> (a comment)
1.667 + \"/s=user/ou=host/o=place/prmd=uu.yy/admd= /c=gb/\"\@x400-re.lay
1.668 + A missing angle <user\@some.where
1.669 + *** Failers
1.670 + The quick brown fox
1.671 +
1.672 +/[\040\t]* # Nab whitespace.
1.673 +(?:
1.674 +\( # (
1.675 +[^\\\x80-\xff\n\015()] * # normal*
1.676 +(?: # (
1.677 +(?: \\ [^\x80-\xff] |
1.678 +\( # (
1.679 +[^\\\x80-\xff\n\015()] * # normal*
1.680 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.681 +\) # )
1.682 +) # special
1.683 +[^\\\x80-\xff\n\015()] * # normal*
1.684 +)* # )*
1.685 +\) # )
1.686 +[\040\t]* )* # If comment found, allow more spaces.
1.687 +# optional leading comment
1.688 +(?:
1.689 +(?:
1.690 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.691 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.692 +# Atom
1.693 +| # or
1.694 +" # "
1.695 +[^\\\x80-\xff\n\015"] * # normal
1.696 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015"] * )* # ( special normal* )*
1.697 +" # "
1.698 +# Quoted string
1.699 +)
1.700 +[\040\t]* # Nab whitespace.
1.701 +(?:
1.702 +\( # (
1.703 +[^\\\x80-\xff\n\015()] * # normal*
1.704 +(?: # (
1.705 +(?: \\ [^\x80-\xff] |
1.706 +\( # (
1.707 +[^\\\x80-\xff\n\015()] * # normal*
1.708 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.709 +\) # )
1.710 +) # special
1.711 +[^\\\x80-\xff\n\015()] * # normal*
1.712 +)* # )*
1.713 +\) # )
1.714 +[\040\t]* )* # If comment found, allow more spaces.
1.715 +(?:
1.716 +\.
1.717 +[\040\t]* # Nab whitespace.
1.718 +(?:
1.719 +\( # (
1.720 +[^\\\x80-\xff\n\015()] * # normal*
1.721 +(?: # (
1.722 +(?: \\ [^\x80-\xff] |
1.723 +\( # (
1.724 +[^\\\x80-\xff\n\015()] * # normal*
1.725 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.726 +\) # )
1.727 +) # special
1.728 +[^\\\x80-\xff\n\015()] * # normal*
1.729 +)* # )*
1.730 +\) # )
1.731 +[\040\t]* )* # If comment found, allow more spaces.
1.732 +(?:
1.733 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.734 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.735 +# Atom
1.736 +| # or
1.737 +" # "
1.738 +[^\\\x80-\xff\n\015"] * # normal
1.739 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015"] * )* # ( special normal* )*
1.740 +" # "
1.741 +# Quoted string
1.742 +)
1.743 +[\040\t]* # Nab whitespace.
1.744 +(?:
1.745 +\( # (
1.746 +[^\\\x80-\xff\n\015()] * # normal*
1.747 +(?: # (
1.748 +(?: \\ [^\x80-\xff] |
1.749 +\( # (
1.750 +[^\\\x80-\xff\n\015()] * # normal*
1.751 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.752 +\) # )
1.753 +) # special
1.754 +[^\\\x80-\xff\n\015()] * # normal*
1.755 +)* # )*
1.756 +\) # )
1.757 +[\040\t]* )* # If comment found, allow more spaces.
1.758 +# additional words
1.759 +)*
1.760 +@
1.761 +[\040\t]* # Nab whitespace.
1.762 +(?:
1.763 +\( # (
1.764 +[^\\\x80-\xff\n\015()] * # normal*
1.765 +(?: # (
1.766 +(?: \\ [^\x80-\xff] |
1.767 +\( # (
1.768 +[^\\\x80-\xff\n\015()] * # normal*
1.769 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.770 +\) # )
1.771 +) # special
1.772 +[^\\\x80-\xff\n\015()] * # normal*
1.773 +)* # )*
1.774 +\) # )
1.775 +[\040\t]* )* # If comment found, allow more spaces.
1.776 +(?:
1.777 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.778 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.779 +|
1.780 +\[ # [
1.781 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.782 +\] # ]
1.783 +)
1.784 +[\040\t]* # Nab whitespace.
1.785 +(?:
1.786 +\( # (
1.787 +[^\\\x80-\xff\n\015()] * # normal*
1.788 +(?: # (
1.789 +(?: \\ [^\x80-\xff] |
1.790 +\( # (
1.791 +[^\\\x80-\xff\n\015()] * # normal*
1.792 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.793 +\) # )
1.794 +) # special
1.795 +[^\\\x80-\xff\n\015()] * # normal*
1.796 +)* # )*
1.797 +\) # )
1.798 +[\040\t]* )* # If comment found, allow more spaces.
1.799 +# optional trailing comments
1.800 +(?:
1.801 +\.
1.802 +[\040\t]* # Nab whitespace.
1.803 +(?:
1.804 +\( # (
1.805 +[^\\\x80-\xff\n\015()] * # normal*
1.806 +(?: # (
1.807 +(?: \\ [^\x80-\xff] |
1.808 +\( # (
1.809 +[^\\\x80-\xff\n\015()] * # normal*
1.810 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.811 +\) # )
1.812 +) # special
1.813 +[^\\\x80-\xff\n\015()] * # normal*
1.814 +)* # )*
1.815 +\) # )
1.816 +[\040\t]* )* # If comment found, allow more spaces.
1.817 +(?:
1.818 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.819 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.820 +|
1.821 +\[ # [
1.822 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.823 +\] # ]
1.824 +)
1.825 +[\040\t]* # Nab whitespace.
1.826 +(?:
1.827 +\( # (
1.828 +[^\\\x80-\xff\n\015()] * # normal*
1.829 +(?: # (
1.830 +(?: \\ [^\x80-\xff] |
1.831 +\( # (
1.832 +[^\\\x80-\xff\n\015()] * # normal*
1.833 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.834 +\) # )
1.835 +) # special
1.836 +[^\\\x80-\xff\n\015()] * # normal*
1.837 +)* # )*
1.838 +\) # )
1.839 +[\040\t]* )* # If comment found, allow more spaces.
1.840 +# optional trailing comments
1.841 +)*
1.842 +# address
1.843 +| # or
1.844 +(?:
1.845 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.846 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.847 +# Atom
1.848 +| # or
1.849 +" # "
1.850 +[^\\\x80-\xff\n\015"] * # normal
1.851 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015"] * )* # ( special normal* )*
1.852 +" # "
1.853 +# Quoted string
1.854 +)
1.855 +# leading word
1.856 +[^()<>@,;:".\\\[\]\x80-\xff\000-\010\012-\037] * # "normal" atoms and or spaces
1.857 +(?:
1.858 +(?:
1.859 +\( # (
1.860 +[^\\\x80-\xff\n\015()] * # normal*
1.861 +(?: # (
1.862 +(?: \\ [^\x80-\xff] |
1.863 +\( # (
1.864 +[^\\\x80-\xff\n\015()] * # normal*
1.865 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.866 +\) # )
1.867 +) # special
1.868 +[^\\\x80-\xff\n\015()] * # normal*
1.869 +)* # )*
1.870 +\) # )
1.871 +|
1.872 +" # "
1.873 +[^\\\x80-\xff\n\015"] * # normal
1.874 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015"] * )* # ( special normal* )*
1.875 +" # "
1.876 +) # "special" comment or quoted string
1.877 +[^()<>@,;:".\\\[\]\x80-\xff\000-\010\012-\037] * # more "normal"
1.878 +)*
1.879 +<
1.880 +[\040\t]* # Nab whitespace.
1.881 +(?:
1.882 +\( # (
1.883 +[^\\\x80-\xff\n\015()] * # normal*
1.884 +(?: # (
1.885 +(?: \\ [^\x80-\xff] |
1.886 +\( # (
1.887 +[^\\\x80-\xff\n\015()] * # normal*
1.888 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.889 +\) # )
1.890 +) # special
1.891 +[^\\\x80-\xff\n\015()] * # normal*
1.892 +)* # )*
1.893 +\) # )
1.894 +[\040\t]* )* # If comment found, allow more spaces.
1.895 +# <
1.896 +(?:
1.897 +@
1.898 +[\040\t]* # Nab whitespace.
1.899 +(?:
1.900 +\( # (
1.901 +[^\\\x80-\xff\n\015()] * # normal*
1.902 +(?: # (
1.903 +(?: \\ [^\x80-\xff] |
1.904 +\( # (
1.905 +[^\\\x80-\xff\n\015()] * # normal*
1.906 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.907 +\) # )
1.908 +) # special
1.909 +[^\\\x80-\xff\n\015()] * # normal*
1.910 +)* # )*
1.911 +\) # )
1.912 +[\040\t]* )* # If comment found, allow more spaces.
1.913 +(?:
1.914 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.915 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.916 +|
1.917 +\[ # [
1.918 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.919 +\] # ]
1.920 +)
1.921 +[\040\t]* # Nab whitespace.
1.922 +(?:
1.923 +\( # (
1.924 +[^\\\x80-\xff\n\015()] * # normal*
1.925 +(?: # (
1.926 +(?: \\ [^\x80-\xff] |
1.927 +\( # (
1.928 +[^\\\x80-\xff\n\015()] * # normal*
1.929 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.930 +\) # )
1.931 +) # special
1.932 +[^\\\x80-\xff\n\015()] * # normal*
1.933 +)* # )*
1.934 +\) # )
1.935 +[\040\t]* )* # If comment found, allow more spaces.
1.936 +# optional trailing comments
1.937 +(?:
1.938 +\.
1.939 +[\040\t]* # Nab whitespace.
1.940 +(?:
1.941 +\( # (
1.942 +[^\\\x80-\xff\n\015()] * # normal*
1.943 +(?: # (
1.944 +(?: \\ [^\x80-\xff] |
1.945 +\( # (
1.946 +[^\\\x80-\xff\n\015()] * # normal*
1.947 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.948 +\) # )
1.949 +) # special
1.950 +[^\\\x80-\xff\n\015()] * # normal*
1.951 +)* # )*
1.952 +\) # )
1.953 +[\040\t]* )* # If comment found, allow more spaces.
1.954 +(?:
1.955 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.956 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.957 +|
1.958 +\[ # [
1.959 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.960 +\] # ]
1.961 +)
1.962 +[\040\t]* # Nab whitespace.
1.963 +(?:
1.964 +\( # (
1.965 +[^\\\x80-\xff\n\015()] * # normal*
1.966 +(?: # (
1.967 +(?: \\ [^\x80-\xff] |
1.968 +\( # (
1.969 +[^\\\x80-\xff\n\015()] * # normal*
1.970 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.971 +\) # )
1.972 +) # special
1.973 +[^\\\x80-\xff\n\015()] * # normal*
1.974 +)* # )*
1.975 +\) # )
1.976 +[\040\t]* )* # If comment found, allow more spaces.
1.977 +# optional trailing comments
1.978 +)*
1.979 +(?: ,
1.980 +[\040\t]* # Nab whitespace.
1.981 +(?:
1.982 +\( # (
1.983 +[^\\\x80-\xff\n\015()] * # normal*
1.984 +(?: # (
1.985 +(?: \\ [^\x80-\xff] |
1.986 +\( # (
1.987 +[^\\\x80-\xff\n\015()] * # normal*
1.988 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.989 +\) # )
1.990 +) # special
1.991 +[^\\\x80-\xff\n\015()] * # normal*
1.992 +)* # )*
1.993 +\) # )
1.994 +[\040\t]* )* # If comment found, allow more spaces.
1.995 +@
1.996 +[\040\t]* # Nab whitespace.
1.997 +(?:
1.998 +\( # (
1.999 +[^\\\x80-\xff\n\015()] * # normal*
1.1000 +(?: # (
1.1001 +(?: \\ [^\x80-\xff] |
1.1002 +\( # (
1.1003 +[^\\\x80-\xff\n\015()] * # normal*
1.1004 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.1005 +\) # )
1.1006 +) # special
1.1007 +[^\\\x80-\xff\n\015()] * # normal*
1.1008 +)* # )*
1.1009 +\) # )
1.1010 +[\040\t]* )* # If comment found, allow more spaces.
1.1011 +(?:
1.1012 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.1013 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.1014 +|
1.1015 +\[ # [
1.1016 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.1017 +\] # ]
1.1018 +)
1.1019 +[\040\t]* # Nab whitespace.
1.1020 +(?:
1.1021 +\( # (
1.1022 +[^\\\x80-\xff\n\015()] * # normal*
1.1023 +(?: # (
1.1024 +(?: \\ [^\x80-\xff] |
1.1025 +\( # (
1.1026 +[^\\\x80-\xff\n\015()] * # normal*
1.1027 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.1028 +\) # )
1.1029 +) # special
1.1030 +[^\\\x80-\xff\n\015()] * # normal*
1.1031 +)* # )*
1.1032 +\) # )
1.1033 +[\040\t]* )* # If comment found, allow more spaces.
1.1034 +# optional trailing comments
1.1035 +(?:
1.1036 +\.
1.1037 +[\040\t]* # Nab whitespace.
1.1038 +(?:
1.1039 +\( # (
1.1040 +[^\\\x80-\xff\n\015()] * # normal*
1.1041 +(?: # (
1.1042 +(?: \\ [^\x80-\xff] |
1.1043 +\( # (
1.1044 +[^\\\x80-\xff\n\015()] * # normal*
1.1045 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.1046 +\) # )
1.1047 +) # special
1.1048 +[^\\\x80-\xff\n\015()] * # normal*
1.1049 +)* # )*
1.1050 +\) # )
1.1051 +[\040\t]* )* # If comment found, allow more spaces.
1.1052 +(?:
1.1053 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.1054 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.1055 +|
1.1056 +\[ # [
1.1057 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.1058 +\] # ]
1.1059 +)
1.1060 +[\040\t]* # Nab whitespace.
1.1061 +(?:
1.1062 +\( # (
1.1063 +[^\\\x80-\xff\n\015()] * # normal*
1.1064 +(?: # (
1.1065 +(?: \\ [^\x80-\xff] |
1.1066 +\( # (
1.1067 +[^\\\x80-\xff\n\015()] * # normal*
1.1068 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.1069 +\) # )
1.1070 +) # special
1.1071 +[^\\\x80-\xff\n\015()] * # normal*
1.1072 +)* # )*
1.1073 +\) # )
1.1074 +[\040\t]* )* # If comment found, allow more spaces.
1.1075 +# optional trailing comments
1.1076 +)*
1.1077 +)* # additional domains
1.1078 +:
1.1079 +[\040\t]* # Nab whitespace.
1.1080 +(?:
1.1081 +\( # (
1.1082 +[^\\\x80-\xff\n\015()] * # normal*
1.1083 +(?: # (
1.1084 +(?: \\ [^\x80-\xff] |
1.1085 +\( # (
1.1086 +[^\\\x80-\xff\n\015()] * # normal*
1.1087 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.1088 +\) # )
1.1089 +) # special
1.1090 +[^\\\x80-\xff\n\015()] * # normal*
1.1091 +)* # )*
1.1092 +\) # )
1.1093 +[\040\t]* )* # If comment found, allow more spaces.
1.1094 +# optional trailing comments
1.1095 +)? # optional route
1.1096 +(?:
1.1097 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.1098 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.1099 +# Atom
1.1100 +| # or
1.1101 +" # "
1.1102 +[^\\\x80-\xff\n\015"] * # normal
1.1103 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015"] * )* # ( special normal* )*
1.1104 +" # "
1.1105 +# Quoted string
1.1106 +)
1.1107 +[\040\t]* # Nab whitespace.
1.1108 +(?:
1.1109 +\( # (
1.1110 +[^\\\x80-\xff\n\015()] * # normal*
1.1111 +(?: # (
1.1112 +(?: \\ [^\x80-\xff] |
1.1113 +\( # (
1.1114 +[^\\\x80-\xff\n\015()] * # normal*
1.1115 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.1116 +\) # )
1.1117 +) # special
1.1118 +[^\\\x80-\xff\n\015()] * # normal*
1.1119 +)* # )*
1.1120 +\) # )
1.1121 +[\040\t]* )* # If comment found, allow more spaces.
1.1122 +(?:
1.1123 +\.
1.1124 +[\040\t]* # Nab whitespace.
1.1125 +(?:
1.1126 +\( # (
1.1127 +[^\\\x80-\xff\n\015()] * # normal*
1.1128 +(?: # (
1.1129 +(?: \\ [^\x80-\xff] |
1.1130 +\( # (
1.1131 +[^\\\x80-\xff\n\015()] * # normal*
1.1132 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.1133 +\) # )
1.1134 +) # special
1.1135 +[^\\\x80-\xff\n\015()] * # normal*
1.1136 +)* # )*
1.1137 +\) # )
1.1138 +[\040\t]* )* # If comment found, allow more spaces.
1.1139 +(?:
1.1140 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.1141 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.1142 +# Atom
1.1143 +| # or
1.1144 +" # "
1.1145 +[^\\\x80-\xff\n\015"] * # normal
1.1146 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015"] * )* # ( special normal* )*
1.1147 +" # "
1.1148 +# Quoted string
1.1149 +)
1.1150 +[\040\t]* # Nab whitespace.
1.1151 +(?:
1.1152 +\( # (
1.1153 +[^\\\x80-\xff\n\015()] * # normal*
1.1154 +(?: # (
1.1155 +(?: \\ [^\x80-\xff] |
1.1156 +\( # (
1.1157 +[^\\\x80-\xff\n\015()] * # normal*
1.1158 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.1159 +\) # )
1.1160 +) # special
1.1161 +[^\\\x80-\xff\n\015()] * # normal*
1.1162 +)* # )*
1.1163 +\) # )
1.1164 +[\040\t]* )* # If comment found, allow more spaces.
1.1165 +# additional words
1.1166 +)*
1.1167 +@
1.1168 +[\040\t]* # Nab whitespace.
1.1169 +(?:
1.1170 +\( # (
1.1171 +[^\\\x80-\xff\n\015()] * # normal*
1.1172 +(?: # (
1.1173 +(?: \\ [^\x80-\xff] |
1.1174 +\( # (
1.1175 +[^\\\x80-\xff\n\015()] * # normal*
1.1176 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.1177 +\) # )
1.1178 +) # special
1.1179 +[^\\\x80-\xff\n\015()] * # normal*
1.1180 +)* # )*
1.1181 +\) # )
1.1182 +[\040\t]* )* # If comment found, allow more spaces.
1.1183 +(?:
1.1184 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.1185 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.1186 +|
1.1187 +\[ # [
1.1188 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.1189 +\] # ]
1.1190 +)
1.1191 +[\040\t]* # Nab whitespace.
1.1192 +(?:
1.1193 +\( # (
1.1194 +[^\\\x80-\xff\n\015()] * # normal*
1.1195 +(?: # (
1.1196 +(?: \\ [^\x80-\xff] |
1.1197 +\( # (
1.1198 +[^\\\x80-\xff\n\015()] * # normal*
1.1199 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.1200 +\) # )
1.1201 +) # special
1.1202 +[^\\\x80-\xff\n\015()] * # normal*
1.1203 +)* # )*
1.1204 +\) # )
1.1205 +[\040\t]* )* # If comment found, allow more spaces.
1.1206 +# optional trailing comments
1.1207 +(?:
1.1208 +\.
1.1209 +[\040\t]* # Nab whitespace.
1.1210 +(?:
1.1211 +\( # (
1.1212 +[^\\\x80-\xff\n\015()] * # normal*
1.1213 +(?: # (
1.1214 +(?: \\ [^\x80-\xff] |
1.1215 +\( # (
1.1216 +[^\\\x80-\xff\n\015()] * # normal*
1.1217 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.1218 +\) # )
1.1219 +) # special
1.1220 +[^\\\x80-\xff\n\015()] * # normal*
1.1221 +)* # )*
1.1222 +\) # )
1.1223 +[\040\t]* )* # If comment found, allow more spaces.
1.1224 +(?:
1.1225 +[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
1.1226 +(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
1.1227 +|
1.1228 +\[ # [
1.1229 +(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
1.1230 +\] # ]
1.1231 +)
1.1232 +[\040\t]* # Nab whitespace.
1.1233 +(?:
1.1234 +\( # (
1.1235 +[^\\\x80-\xff\n\015()] * # normal*
1.1236 +(?: # (
1.1237 +(?: \\ [^\x80-\xff] |
1.1238 +\( # (
1.1239 +[^\\\x80-\xff\n\015()] * # normal*
1.1240 +(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)*
1.1241 +\) # )
1.1242 +) # special
1.1243 +[^\\\x80-\xff\n\015()] * # normal*
1.1244 +)* # )*
1.1245 +\) # )
1.1246 +[\040\t]* )* # If comment found, allow more spaces.
1.1247 +# optional trailing comments
1.1248 +)*
1.1249 +# address spec
1.1250 +> # >
1.1251 +# name and address
1.1252 +)
1.1253 +/x
1.1254 + Alan Other <user\@dom.ain>
1.1255 + <user\@dom.ain>
1.1256 + user\@dom.ain
1.1257 + \"A. Other\" <user.1234\@dom.ain> (a comment)
1.1258 + A. Other <user.1234\@dom.ain> (a comment)
1.1259 + \"/s=user/ou=host/o=place/prmd=uu.yy/admd= /c=gb/\"\@x400-re.lay
1.1260 + A missing angle <user\@some.where
1.1261 + *** Failers
1.1262 + The quick brown fox
1.1263 +
1.1264 +/abc\0def\00pqr\000xyz\0000AB/
1.1265 + abc\0def\00pqr\000xyz\0000AB
1.1266 + abc456 abc\0def\00pqr\000xyz\0000ABCDE
1.1267 +
1.1268 +/abc\x0def\x00pqr\x000xyz\x0000AB/
1.1269 + abc\x0def\x00pqr\x000xyz\x0000AB
1.1270 + abc456 abc\x0def\x00pqr\x000xyz\x0000ABCDE
1.1271 +
1.1272 +/^[\000-\037]/
1.1273 + \0A
1.1274 + \01B
1.1275 + \037C
1.1276 +
1.1277 +/\0*/
1.1278 + \0\0\0\0
1.1279 +
1.1280 +/A\x0{2,3}Z/
1.1281 + The A\x0\x0Z
1.1282 + An A\0\x0\0Z
1.1283 + *** Failers
1.1284 + A\0Z
1.1285 + A\0\x0\0\x0Z
1.1286 +
1.1287 +/^(cow|)\1(bell)/
1.1288 + cowcowbell
1.1289 + bell
1.1290 + *** Failers
1.1291 + cowbell
1.1292 +
1.1293 +/^\s/
1.1294 + \040abc
1.1295 + \x0cabc
1.1296 + \nabc
1.1297 + \rabc
1.1298 + \tabc
1.1299 + *** Failers
1.1300 + abc
1.1301 +
1.1302 +/^a b
1.1303 + c/x
1.1304 + abc
1.1305 +
1.1306 +/^(a|)\1*b/
1.1307 + ab
1.1308 + aaaab
1.1309 + b
1.1310 + *** Failers
1.1311 + acb
1.1312 +
1.1313 +/^(a|)\1+b/
1.1314 + aab
1.1315 + aaaab
1.1316 + b
1.1317 + *** Failers
1.1318 + ab
1.1319 +
1.1320 +/^(a|)\1?b/
1.1321 + ab
1.1322 + aab
1.1323 + b
1.1324 + *** Failers
1.1325 + acb
1.1326 +
1.1327 +/^(a|)\1{2}b/
1.1328 + aaab
1.1329 + b
1.1330 + *** Failers
1.1331 + ab
1.1332 + aab
1.1333 + aaaab
1.1334 +
1.1335 +/^(a|)\1{2,3}b/
1.1336 + aaab
1.1337 + aaaab
1.1338 + b
1.1339 + *** Failers
1.1340 + ab
1.1341 + aab
1.1342 + aaaaab
1.1343 +
1.1344 +/ab{1,3}bc/
1.1345 + abbbbc
1.1346 + abbbc
1.1347 + abbc
1.1348 + *** Failers
1.1349 + abc
1.1350 + abbbbbc
1.1351 +
1.1352 +/([^.]*)\.([^:]*):[T ]+(.*)/
1.1353 + track1.title:TBlah blah blah
1.1354 +
1.1355 +/([^.]*)\.([^:]*):[T ]+(.*)/i
1.1356 + track1.title:TBlah blah blah
1.1357 +
1.1358 +/([^.]*)\.([^:]*):[t ]+(.*)/i
1.1359 + track1.title:TBlah blah blah
1.1360 +
1.1361 +/^[W-c]+$/
1.1362 + WXY_^abc
1.1363 + *** Failers
1.1364 + wxy
1.1365 +
1.1366 +/^[W-c]+$/i
1.1367 + WXY_^abc
1.1368 + wxy_^ABC
1.1369 +
1.1370 +/^[\x3f-\x5F]+$/i
1.1371 + WXY_^abc
1.1372 + wxy_^ABC
1.1373 +
1.1374 +/^abc$/m
1.1375 + abc
1.1376 + qqq\nabc
1.1377 + abc\nzzz
1.1378 + qqq\nabc\nzzz
1.1379 +
1.1380 +/^abc$/
1.1381 + abc
1.1382 + *** Failers
1.1383 + qqq\nabc
1.1384 + abc\nzzz
1.1385 + qqq\nabc\nzzz
1.1386 +
1.1387 +/\Aabc\Z/m
1.1388 + abc
1.1389 + abc\n
1.1390 + *** Failers
1.1391 + qqq\nabc
1.1392 + abc\nzzz
1.1393 + qqq\nabc\nzzz
1.1394 +
1.1395 +/\A(.)*\Z/s
1.1396 + abc\ndef
1.1397 +
1.1398 +/\A(.)*\Z/m
1.1399 + *** Failers
1.1400 + abc\ndef
1.1401 +
1.1402 +/(?:b)|(?::+)/
1.1403 + b::c
1.1404 + c::b
1.1405 +
1.1406 +/[-az]+/
1.1407 + az-
1.1408 + *** Failers
1.1409 + b
1.1410 +
1.1411 +/[az-]+/
1.1412 + za-
1.1413 + *** Failers
1.1414 + b
1.1415 +
1.1416 +/[a\-z]+/
1.1417 + a-z
1.1418 + *** Failers
1.1419 + b
1.1420 +
1.1421 +/[a-z]+/
1.1422 + abcdxyz
1.1423 +
1.1424 +/[\d-]+/
1.1425 + 12-34
1.1426 + *** Failers
1.1427 + aaa
1.1428 +
1.1429 +/[\d-z]+/
1.1430 + 12-34z
1.1431 + *** Failers
1.1432 + aaa
1.1433 +
1.1434 +/\x5c/
1.1435 + \\
1.1436 +
1.1437 +/\x20Z/
1.1438 + the Zoo
1.1439 + *** Failers
1.1440 + Zulu
1.1441 +
1.1442 +/(abc)\1/i
1.1443 + abcabc
1.1444 + ABCabc
1.1445 + abcABC
1.1446 +
1.1447 +/ab{3cd/
1.1448 + ab{3cd
1.1449 +
1.1450 +/ab{3,cd/
1.1451 + ab{3,cd
1.1452 +
1.1453 +/ab{3,4a}cd/
1.1454 + ab{3,4a}cd
1.1455 +
1.1456 +/{4,5a}bc/
1.1457 + {4,5a}bc
1.1458 +
1.1459 +/abc$/
1.1460 + abc
1.1461 + abc\n
1.1462 + *** Failers
1.1463 + abc\ndef
1.1464 +
1.1465 +/(abc)\123/
1.1466 + abc\x53
1.1467 +
1.1468 +/(abc)\223/
1.1469 + abc\x93
1.1470 +
1.1471 +/(abc)\323/
1.1472 + abc\xd3
1.1473 +
1.1474 +/(abc)\100/
1.1475 + abc\x40
1.1476 + abc\100
1.1477 +
1.1478 +/(abc)\1000/
1.1479 + abc\x400
1.1480 + abc\x40\x30
1.1481 + abc\1000
1.1482 + abc\100\x30
1.1483 + abc\100\060
1.1484 + abc\100\60
1.1485 +
1.1486 +/abc\81/
1.1487 + abc\081
1.1488 + abc\0\x38\x31
1.1489 +
1.1490 +/abc\91/
1.1491 + abc\091
1.1492 + abc\0\x39\x31
1.1493 +
1.1494 +/(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)(l)\12\123/
1.1495 + abcdefghijkllS
1.1496 +
1.1497 +/(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)\12\123/
1.1498 + abcdefghijk\12S
1.1499 +
1.1500 +/ab\idef/
1.1501 + abidef
1.1502 +
1.1503 +/a{0}bc/
1.1504 + bc
1.1505 +
1.1506 +/(a|(bc)){0,0}?xyz/
1.1507 + xyz
1.1508 +
1.1509 +/abc[\10]de/
1.1510 + abc\010de
1.1511 +
1.1512 +/abc[\1]de/
1.1513 + abc\1de
1.1514 +
1.1515 +/(abc)[\1]de/
1.1516 + abc\1de
1.1517 +
1.1518 +/(?s)a.b/
1.1519 + a\nb
1.1520 +
1.1521 +/^([^a])([^\b])([^c]*)([^d]{3,4})/
1.1522 + baNOTccccd
1.1523 + baNOTcccd
1.1524 + baNOTccd
1.1525 + bacccd
1.1526 + *** Failers
1.1527 + anything
1.1528 + b\bc
1.1529 + baccd
1.1530 +
1.1531 +/[^a]/
1.1532 + Abc
1.1533 +
1.1534 +/[^a]/i
1.1535 + Abc
1.1536 +
1.1537 +/[^a]+/
1.1538 + AAAaAbc
1.1539 +
1.1540 +/[^a]+/i
1.1541 + AAAaAbc
1.1542 +
1.1543 +/[^a]+/
1.1544 + bbb\nccc
1.1545 +
1.1546 +/[^k]$/
1.1547 + abc
1.1548 + *** Failers
1.1549 + abk
1.1550 +
1.1551 +/[^k]{2,3}$/
1.1552 + abc
1.1553 + kbc
1.1554 + kabc
1.1555 + *** Failers
1.1556 + abk
1.1557 + akb
1.1558 + akk
1.1559 +
1.1560 +/^\d{8,}\@.+[^k]$/
1.1561 + 12345678\@a.b.c.d
1.1562 + 123456789\@x.y.z
1.1563 + *** Failers
1.1564 + 12345678\@x.y.uk
1.1565 + 1234567\@a.b.c.d
1.1566 +
1.1567 +/(a)\1{8,}/
1.1568 + aaaaaaaaa
1.1569 + aaaaaaaaaa
1.1570 + *** Failers
1.1571 + aaaaaaa
1.1572 +
1.1573 +/[^a]/
1.1574 + aaaabcd
1.1575 + aaAabcd
1.1576 +
1.1577 +/[^a]/i
1.1578 + aaaabcd
1.1579 + aaAabcd
1.1580 +
1.1581 +/[^az]/
1.1582 + aaaabcd
1.1583 + aaAabcd
1.1584 +
1.1585 +/[^az]/i
1.1586 + aaaabcd
1.1587 + aaAabcd
1.1588 +
1.1589 +/\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\040\041\042\043\044\045\046\047\050\051\052\053\054\055\056\057\060\061\062\063\064\065\066\067\070\071\072\073\074\075\076\077\100\101\102\103\104\105\106\107\110\111\112\113\114\115\116\117\120\121\122\123\124\125\126\127\130\131\132\133\134\135\136\137\140\141\142\143\144\145\146\147\150\151\152\153\154\155\156\157\160\161\162\163\164\165\166\167\170\171\172\173\174\175\176\177\200\201\202\203\204\205\206\207\210\211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377/
1.1590 + \000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\040\041\042\043\044\045\046\047\050\051\052\053\054\055\056\057\060\061\062\063\064\065\066\067\070\071\072\073\074\075\076\077\100\101\102\103\104\105\106\107\110\111\112\113\114\115\116\117\120\121\122\123\124\125\126\127\130\131\132\133\134\135\136\137\140\141\142\143\144\145\146\147\150\151\152\153\154\155\156\157\160\161\162\163\164\165\166\167\170\171\172\173\174\175\176\177\200\201\202\203\204\205\206\207\210\211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377
1.1591 +
1.1592 +/P[^*]TAIRE[^*]{1,6}?LL/
1.1593 + xxxxxxxxxxxPSTAIREISLLxxxxxxxxx
1.1594 +
1.1595 +/P[^*]TAIRE[^*]{1,}?LL/
1.1596 + xxxxxxxxxxxPSTAIREISLLxxxxxxxxx
1.1597 +
1.1598 +/(\.\d\d[1-9]?)\d+/
1.1599 + 1.230003938
1.1600 + 1.875000282
1.1601 + 1.235
1.1602 +
1.1603 +/(\.\d\d((?=0)|\d(?=\d)))/
1.1604 + 1.230003938
1.1605 + 1.875000282
1.1606 + *** Failers
1.1607 + 1.235
1.1608 +
1.1609 +/a(?)b/
1.1610 + ab
1.1611 +
1.1612 +/\b(foo)\s+(\w+)/i
1.1613 + Food is on the foo table
1.1614 +
1.1615 +/foo(.*)bar/
1.1616 + The food is under the bar in the barn.
1.1617 +
1.1618 +/foo(.*?)bar/
1.1619 + The food is under the bar in the barn.
1.1620 +
1.1621 +/(.*)(\d*)/
1.1622 + I have 2 numbers: 53147
1.1623 +
1.1624 +/(.*)(\d+)/
1.1625 + I have 2 numbers: 53147
1.1626 +
1.1627 +/(.*?)(\d*)/
1.1628 + I have 2 numbers: 53147
1.1629 +
1.1630 +/(.*?)(\d+)/
1.1631 + I have 2 numbers: 53147
1.1632 +
1.1633 +/(.*)(\d+)$/
1.1634 + I have 2 numbers: 53147
1.1635 +
1.1636 +/(.*?)(\d+)$/
1.1637 + I have 2 numbers: 53147
1.1638 +
1.1639 +/(.*)\b(\d+)$/
1.1640 + I have 2 numbers: 53147
1.1641 +
1.1642 +/(.*\D)(\d+)$/
1.1643 + I have 2 numbers: 53147
1.1644 +
1.1645 +/^\D*(?!123)/
1.1646 + ABC123
1.1647 +
1.1648 +/^(\D*)(?=\d)(?!123)/
1.1649 + ABC445
1.1650 + *** Failers
1.1651 + ABC123
1.1652 +
1.1653 +/^[W-]46]/
1.1654 + W46]789
1.1655 + -46]789
1.1656 + *** Failers
1.1657 + Wall
1.1658 + Zebra
1.1659 + 42
1.1660 + [abcd]
1.1661 + ]abcd[
1.1662 +
1.1663 +/^[W-\]46]/
1.1664 + W46]789
1.1665 + Wall
1.1666 + Zebra
1.1667 + Xylophone
1.1668 + 42
1.1669 + [abcd]
1.1670 + ]abcd[
1.1671 + \\backslash
1.1672 + *** Failers
1.1673 + -46]789
1.1674 + well
1.1675 +
1.1676 +/\d\d\/\d\d\/\d\d\d\d/
1.1677 + 01/01/2000
1.1678 +
1.1679 +/word (?:[a-zA-Z0-9]+ ){0,10}otherword/
1.1680 + word cat dog elephant mussel cow horse canary baboon snake shark otherword
1.1681 + word cat dog elephant mussel cow horse canary baboon snake shark
1.1682 +
1.1683 +/word (?:[a-zA-Z0-9]+ ){0,300}otherword/
1.1684 + word cat dog elephant mussel cow horse canary baboon snake shark the quick brown fox and the lazy dog and several other words getting close to thirty by now I hope
1.1685 +
1.1686 +/^(a){0,0}/
1.1687 + bcd
1.1688 + abc
1.1689 + aab
1.1690 +
1.1691 +/^(a){0,1}/
1.1692 + bcd
1.1693 + abc
1.1694 + aab
1.1695 +
1.1696 +/^(a){0,2}/
1.1697 + bcd
1.1698 + abc
1.1699 + aab
1.1700 +
1.1701 +/^(a){0,3}/
1.1702 + bcd
1.1703 + abc
1.1704 + aab
1.1705 + aaa
1.1706 +
1.1707 +/^(a){0,}/
1.1708 + bcd
1.1709 + abc
1.1710 + aab
1.1711 + aaa
1.1712 + aaaaaaaa
1.1713 +
1.1714 +/^(a){1,1}/
1.1715 + bcd
1.1716 + abc
1.1717 + aab
1.1718 +
1.1719 +/^(a){1,2}/
1.1720 + bcd
1.1721 + abc
1.1722 + aab
1.1723 +
1.1724 +/^(a){1,3}/
1.1725 + bcd
1.1726 + abc
1.1727 + aab
1.1728 + aaa
1.1729 +
1.1730 +/^(a){1,}/
1.1731 + bcd
1.1732 + abc
1.1733 + aab
1.1734 + aaa
1.1735 + aaaaaaaa
1.1736 +
1.1737 +/.*\.gif/
1.1738 + borfle\nbib.gif\nno
1.1739 +
1.1740 +/.{0,}\.gif/
1.1741 + borfle\nbib.gif\nno
1.1742 +
1.1743 +/.*\.gif/m
1.1744 + borfle\nbib.gif\nno
1.1745 +
1.1746 +/.*\.gif/s
1.1747 + borfle\nbib.gif\nno
1.1748 +
1.1749 +/.*\.gif/ms
1.1750 + borfle\nbib.gif\nno
1.1751 +
1.1752 +/.*$/
1.1753 + borfle\nbib.gif\nno
1.1754 +
1.1755 +/.*$/m
1.1756 + borfle\nbib.gif\nno
1.1757 +
1.1758 +/.*$/s
1.1759 + borfle\nbib.gif\nno
1.1760 +
1.1761 +/.*$/ms
1.1762 + borfle\nbib.gif\nno
1.1763 +
1.1764 +/.*$/
1.1765 + borfle\nbib.gif\nno\n
1.1766 +
1.1767 +/.*$/m
1.1768 + borfle\nbib.gif\nno\n
1.1769 +
1.1770 +/.*$/s
1.1771 + borfle\nbib.gif\nno\n
1.1772 +
1.1773 +/.*$/ms
1.1774 + borfle\nbib.gif\nno\n
1.1775 +
1.1776 +/(.*X|^B)/
1.1777 + abcde\n1234Xyz
1.1778 + BarFoo
1.1779 + *** Failers
1.1780 + abcde\nBar
1.1781 +
1.1782 +/(.*X|^B)/m
1.1783 + abcde\n1234Xyz
1.1784 + BarFoo
1.1785 + abcde\nBar
1.1786 +
1.1787 +/(.*X|^B)/s
1.1788 + abcde\n1234Xyz
1.1789 + BarFoo
1.1790 + *** Failers
1.1791 + abcde\nBar
1.1792 +
1.1793 +/(.*X|^B)/ms
1.1794 + abcde\n1234Xyz
1.1795 + BarFoo
1.1796 + abcde\nBar
1.1797 +
1.1798 +/(?s)(.*X|^B)/
1.1799 + abcde\n1234Xyz
1.1800 + BarFoo
1.1801 + *** Failers
1.1802 + abcde\nBar
1.1803 +
1.1804 +/(?s:.*X|^B)/
1.1805 + abcde\n1234Xyz
1.1806 + BarFoo
1.1807 + *** Failers
1.1808 + abcde\nBar
1.1809 +
1.1810 +/^.*B/
1.1811 + **** Failers
1.1812 + abc\nB
1.1813 +
1.1814 +/(?s)^.*B/
1.1815 + abc\nB
1.1816 +
1.1817 +/(?m)^.*B/
1.1818 + abc\nB
1.1819 +
1.1820 +/(?ms)^.*B/
1.1821 + abc\nB
1.1822 +
1.1823 +/(?ms)^B/
1.1824 + abc\nB
1.1825 +
1.1826 +/(?s)B$/
1.1827 + B\n
1.1828 +
1.1829 +/^[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/
1.1830 + 123456654321
1.1831 +
1.1832 +/^\d\d\d\d\d\d\d\d\d\d\d\d/
1.1833 + 123456654321
1.1834 +
1.1835 +/^[\d][\d][\d][\d][\d][\d][\d][\d][\d][\d][\d][\d]/
1.1836 + 123456654321
1.1837 +
1.1838 +/^[abc]{12}/
1.1839 + abcabcabcabc
1.1840 +
1.1841 +/^[a-c]{12}/
1.1842 + abcabcabcabc
1.1843 +
1.1844 +/^(a|b|c){12}/
1.1845 + abcabcabcabc
1.1846 +
1.1847 +/^[abcdefghijklmnopqrstuvwxy0123456789]/
1.1848 + n
1.1849 + *** Failers
1.1850 + z
1.1851 +
1.1852 +/abcde{0,0}/
1.1853 + abcd
1.1854 + *** Failers
1.1855 + abce
1.1856 +
1.1857 +/ab[cd]{0,0}e/
1.1858 + abe
1.1859 + *** Failers
1.1860 + abcde
1.1861 +
1.1862 +/ab(c){0,0}d/
1.1863 + abd
1.1864 + *** Failers
1.1865 + abcd
1.1866 +
1.1867 +/a(b*)/
1.1868 + a
1.1869 + ab
1.1870 + abbbb
1.1871 + *** Failers
1.1872 + bbbbb
1.1873 +
1.1874 +/ab\d{0}e/
1.1875 + abe
1.1876 + *** Failers
1.1877 + ab1e
1.1878 +
1.1879 +/"([^\\"]+|\\.)*"/
1.1880 + the \"quick\" brown fox
1.1881 + \"the \\\"quick\\\" brown fox\"
1.1882 +
1.1883 +/.*?/g+
1.1884 + abc
1.1885 +
1.1886 +/\b/g+
1.1887 + abc
1.1888 +
1.1889 +/\b/+g
1.1890 + abc
1.1891 +
1.1892 +//g
1.1893 + abc
1.1894 +
1.1895 +/<tr([\w\W\s\d][^<>]{0,})><TD([\w\W\s\d][^<>]{0,})>([\d]{0,}\.)(.*)((<BR>([\w\W\s\d][^<>]{0,})|[\s]{0,}))<\/a><\/TD><TD([\w\W\s\d][^<>]{0,})>([\w\W\s\d][^<>]{0,})<\/TD><TD([\w\W\s\d][^<>]{0,})>([\w\W\s\d][^<>]{0,})<\/TD><\/TR>/is
1.1896 + <TR BGCOLOR='#DBE9E9'><TD align=left valign=top>43.<a href='joblist.cfm?JobID=94 6735&Keyword='>Word Processor<BR>(N-1286)</a></TD><TD align=left valign=top>Lega lstaff.com</TD><TD align=left valign=top>CA - Statewide</TD></TR>
1.1897 +
1.1898 +/a[^a]b/
1.1899 + acb
1.1900 + a\nb
1.1901 +
1.1902 +/a.b/
1.1903 + acb
1.1904 + *** Failers
1.1905 + a\nb
1.1906 +
1.1907 +/a[^a]b/s
1.1908 + acb
1.1909 + a\nb
1.1910 +
1.1911 +/a.b/s
1.1912 + acb
1.1913 + a\nb
1.1914 +
1.1915 +/^(b+?|a){1,2}?c/
1.1916 + bac
1.1917 + bbac
1.1918 + bbbac
1.1919 + bbbbac
1.1920 + bbbbbac
1.1921 +
1.1922 +/^(b+|a){1,2}?c/
1.1923 + bac
1.1924 + bbac
1.1925 + bbbac
1.1926 + bbbbac
1.1927 + bbbbbac
1.1928 +
1.1929 +/(?!\A)x/m
1.1930 + x\nb\n
1.1931 + a\bx\n
1.1932 +
1.1933 +/\x0{ab}/
1.1934 + \0{ab}
1.1935 +
1.1936 +/(A|B)*?CD/
1.1937 + CD
1.1938 +
1.1939 +/(A|B)*CD/
1.1940 + CD
1.1941 +
1.1942 +/(AB)*?\1/
1.1943 + ABABAB
1.1944 +
1.1945 +/(AB)*\1/
1.1946 + ABABAB
1.1947 +
1.1948 +/(?<!bar)foo/
1.1949 + foo
1.1950 + catfood
1.1951 + arfootle
1.1952 + rfoosh
1.1953 + *** Failers
1.1954 + barfoo
1.1955 + towbarfoo
1.1956 +
1.1957 +/\w{3}(?<!bar)foo/
1.1958 + catfood
1.1959 + *** Failers
1.1960 + foo
1.1961 + barfoo
1.1962 + towbarfoo
1.1963 +
1.1964 +/(?<=(foo)a)bar/
1.1965 + fooabar
1.1966 + *** Failers
1.1967 + bar
1.1968 + foobbar
1.1969 +
1.1970 +/\Aabc\z/m
1.1971 + abc
1.1972 + *** Failers
1.1973 + abc\n
1.1974 + qqq\nabc
1.1975 + abc\nzzz
1.1976 + qqq\nabc\nzzz
1.1977 +
1.1978 +"(?>.*/)foo"
1.1979 + /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/
1.1980 +
1.1981 +"(?>.*/)foo"
1.1982 + /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
1.1983 +
1.1984 +/(?>(\.\d\d[1-9]?))\d+/
1.1985 + 1.230003938
1.1986 + 1.875000282
1.1987 + *** Failers
1.1988 + 1.235
1.1989 +
1.1990 +/^((?>\w+)|(?>\s+))*$/
1.1991 + now is the time for all good men to come to the aid of the party
1.1992 + *** Failers
1.1993 + this is not a line with only words and spaces!
1.1994 +
1.1995 +/(\d+)(\w)/
1.1996 + 12345a
1.1997 + 12345+
1.1998 +
1.1999 +/((?>\d+))(\w)/
1.2000 + 12345a
1.2001 + *** Failers
1.2002 + 12345+
1.2003 +
1.2004 +/(?>a+)b/
1.2005 + aaab
1.2006 +
1.2007 +/((?>a+)b)/
1.2008 + aaab
1.2009 +
1.2010 +/(?>(a+))b/
1.2011 + aaab
1.2012 +
1.2013 +/(?>b)+/
1.2014 + aaabbbccc
1.2015 +
1.2016 +/(?>a+|b+|c+)*c/
1.2017 + aaabbbbccccd
1.2018 +
1.2019 +/((?>[^()]+)|\([^()]*\))+/
1.2020 + ((abc(ade)ufh()()x
1.2021 +
1.2022 +/\(((?>[^()]+)|\([^()]+\))+\)/
1.2023 + (abc)
1.2024 + (abc(def)xyz)
1.2025 + *** Failers
1.2026 + ((()aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
1.2027 +
1.2028 +/a(?-i)b/i
1.2029 + ab
1.2030 + Ab
1.2031 + *** Failers
1.2032 + aB
1.2033 + AB
1.2034 +
1.2035 +/(a (?x)b c)d e/
1.2036 + a bcd e
1.2037 + *** Failers
1.2038 + a b cd e
1.2039 + abcd e
1.2040 + a bcde
1.2041 +
1.2042 +/(a b(?x)c d (?-x)e f)/
1.2043 + a bcde f
1.2044 + *** Failers
1.2045 + abcdef
1.2046 +
1.2047 +/(a(?i)b)c/
1.2048 + abc
1.2049 + aBc
1.2050 + *** Failers
1.2051 + abC
1.2052 + aBC
1.2053 + Abc
1.2054 + ABc
1.2055 + ABC
1.2056 + AbC
1.2057 +
1.2058 +/a(?i:b)c/
1.2059 + abc
1.2060 + aBc
1.2061 + *** Failers
1.2062 + ABC
1.2063 + abC
1.2064 + aBC
1.2065 +
1.2066 +/a(?i:b)*c/
1.2067 + aBc
1.2068 + aBBc
1.2069 + *** Failers
1.2070 + aBC
1.2071 + aBBC
1.2072 +
1.2073 +/a(?=b(?i)c)\w\wd/
1.2074 + abcd
1.2075 + abCd
1.2076 + *** Failers
1.2077 + aBCd
1.2078 + abcD
1.2079 +
1.2080 +/(?s-i:more.*than).*million/i
1.2081 + more than million
1.2082 + more than MILLION
1.2083 + more \n than Million
1.2084 + *** Failers
1.2085 + MORE THAN MILLION
1.2086 + more \n than \n million
1.2087 +
1.2088 +/(?:(?s-i)more.*than).*million/i
1.2089 + more than million
1.2090 + more than MILLION
1.2091 + more \n than Million
1.2092 + *** Failers
1.2093 + MORE THAN MILLION
1.2094 + more \n than \n million
1.2095 +
1.2096 +/(?>a(?i)b+)+c/
1.2097 + abc
1.2098 + aBbc
1.2099 + aBBc
1.2100 + *** Failers
1.2101 + Abc
1.2102 + abAb
1.2103 + abbC
1.2104 +
1.2105 +/(?=a(?i)b)\w\wc/
1.2106 + abc
1.2107 + aBc
1.2108 + *** Failers
1.2109 + Ab
1.2110 + abC
1.2111 + aBC
1.2112 +
1.2113 +/(?<=a(?i)b)(\w\w)c/
1.2114 + abxxc
1.2115 + aBxxc
1.2116 + *** Failers
1.2117 + Abxxc
1.2118 + ABxxc
1.2119 + abxxC
1.2120 +
1.2121 +/(?:(a)|b)(?(1)A|B)/
1.2122 + aA
1.2123 + bB
1.2124 + *** Failers
1.2125 + aB
1.2126 + bA
1.2127 +
1.2128 +/^(a)?(?(1)a|b)+$/
1.2129 + aa
1.2130 + b
1.2131 + bb
1.2132 + *** Failers
1.2133 + ab
1.2134 +
1.2135 +/^(?(?=abc)\w{3}:|\d\d)$/
1.2136 + abc:
1.2137 + 12
1.2138 + *** Failers
1.2139 + 123
1.2140 + xyz
1.2141 +
1.2142 +/^(?(?!abc)\d\d|\w{3}:)$/
1.2143 + abc:
1.2144 + 12
1.2145 + *** Failers
1.2146 + 123
1.2147 + xyz
1.2148 +
1.2149 +/(?(?<=foo)bar|cat)/
1.2150 + foobar
1.2151 + cat
1.2152 + fcat
1.2153 + focat
1.2154 + *** Failers
1.2155 + foocat
1.2156 +
1.2157 +/(?(?<!foo)cat|bar)/
1.2158 + foobar
1.2159 + cat
1.2160 + fcat
1.2161 + focat
1.2162 + *** Failers
1.2163 + foocat
1.2164 +
1.2165 +/( \( )? [^()]+ (?(1) \) |) /x
1.2166 + abcd
1.2167 + (abcd)
1.2168 + the quick (abcd) fox
1.2169 + (abcd
1.2170 +
1.2171 +/( \( )? [^()]+ (?(1) \) ) /x
1.2172 + abcd
1.2173 + (abcd)
1.2174 + the quick (abcd) fox
1.2175 + (abcd
1.2176 +
1.2177 +/^(?(2)a|(1)(2))+$/
1.2178 + 12
1.2179 + 12a
1.2180 + 12aa
1.2181 + *** Failers
1.2182 + 1234
1.2183 +
1.2184 +/((?i)blah)\s+\1/
1.2185 + blah blah
1.2186 + BLAH BLAH
1.2187 + Blah Blah
1.2188 + blaH blaH
1.2189 + *** Failers
1.2190 + blah BLAH
1.2191 + Blah blah
1.2192 + blaH blah
1.2193 +
1.2194 +/((?i)blah)\s+(?i:\1)/
1.2195 + blah blah
1.2196 + BLAH BLAH
1.2197 + Blah Blah
1.2198 + blaH blaH
1.2199 + blah BLAH
1.2200 + Blah blah
1.2201 + blaH blah
1.2202 +
1.2203 +/(?>a*)*/
1.2204 + a
1.2205 + aa
1.2206 + aaaa
1.2207 +
1.2208 +/(abc|)+/
1.2209 + abc
1.2210 + abcabc
1.2211 + abcabcabc
1.2212 + xyz
1.2213 +
1.2214 +/([a]*)*/
1.2215 + a
1.2216 + aaaaa
1.2217 +
1.2218 +/([ab]*)*/
1.2219 + a
1.2220 + b
1.2221 + ababab
1.2222 + aaaabcde
1.2223 + bbbb
1.2224 +
1.2225 +/([^a]*)*/
1.2226 + b
1.2227 + bbbb
1.2228 + aaa
1.2229 +
1.2230 +/([^ab]*)*/
1.2231 + cccc
1.2232 + abab
1.2233 +
1.2234 +/([a]*?)*/
1.2235 + a
1.2236 + aaaa
1.2237 +
1.2238 +/([ab]*?)*/
1.2239 + a
1.2240 + b
1.2241 + abab
1.2242 + baba
1.2243 +
1.2244 +/([^a]*?)*/
1.2245 + b
1.2246 + bbbb
1.2247 + aaa
1.2248 +
1.2249 +/([^ab]*?)*/
1.2250 + c
1.2251 + cccc
1.2252 + baba
1.2253 +
1.2254 +/(?>a*)*/
1.2255 + a
1.2256 + aaabcde
1.2257 +
1.2258 +/((?>a*))*/
1.2259 + aaaaa
1.2260 + aabbaa
1.2261 +
1.2262 +/((?>a*?))*/
1.2263 + aaaaa
1.2264 + aabbaa
1.2265 +
1.2266 +/(?(?=[^a-z]+[a-z]) \d{2}-[a-z]{3}-\d{2} | \d{2}-\d{2}-\d{2} ) /x
1.2267 + 12-sep-98
1.2268 + 12-09-98
1.2269 + *** Failers
1.2270 + sep-12-98
1.2271 +
1.2272 +/(?<=(foo))bar\1/
1.2273 + foobarfoo
1.2274 + foobarfootling
1.2275 + *** Failers
1.2276 + foobar
1.2277 + barfoo
1.2278 +
1.2279 +/(?i:saturday|sunday)/
1.2280 + saturday
1.2281 + sunday
1.2282 + Saturday
1.2283 + Sunday
1.2284 + SATURDAY
1.2285 + SUNDAY
1.2286 + SunDay
1.2287 +
1.2288 +/(a(?i)bc|BB)x/
1.2289 + abcx
1.2290 + aBCx
1.2291 + bbx
1.2292 + BBx
1.2293 + *** Failers
1.2294 + abcX
1.2295 + aBCX
1.2296 + bbX
1.2297 + BBX
1.2298 +
1.2299 +/^([ab](?i)[cd]|[ef])/
1.2300 + ac
1.2301 + aC
1.2302 + bD
1.2303 + elephant
1.2304 + Europe
1.2305 + frog
1.2306 + France
1.2307 + *** Failers
1.2308 + Africa
1.2309 +
1.2310 +/^(ab|a(?i)[b-c](?m-i)d|x(?i)y|z)/
1.2311 + ab
1.2312 + aBd
1.2313 + xy
1.2314 + xY
1.2315 + zebra
1.2316 + Zambesi
1.2317 + *** Failers
1.2318 + aCD
1.2319 + XY
1.2320 +
1.2321 +/(?<=foo\n)^bar/m
1.2322 + foo\nbar
1.2323 + *** Failers
1.2324 + bar
1.2325 + baz\nbar
1.2326 +
1.2327 +/(?<=(?<!foo)bar)baz/
1.2328 + barbaz
1.2329 + barbarbaz
1.2330 + koobarbaz
1.2331 + *** Failers
1.2332 + baz
1.2333 + foobarbaz
1.2334 +
1.2335 +/The case of aaaaaa is missed out below because I think Perl 5.005_02 gets/
1.2336 +/it wrong; it sets $1 to aaa rather than aa. Compare the following test,/
1.2337 +/where it does set $1 to aa when matching aaaaaa./
1.2338 +
1.2339 +/^(a\1?){4}$/
1.2340 + a
1.2341 + aa
1.2342 + aaa
1.2343 + aaaa
1.2344 + aaaaa
1.2345 + aaaaaaa
1.2346 + aaaaaaaa
1.2347 + aaaaaaaaa
1.2348 + aaaaaaaaaa
1.2349 + aaaaaaaaaaa
1.2350 + aaaaaaaaaaaa
1.2351 + aaaaaaaaaaaaa
1.2352 + aaaaaaaaaaaaaa
1.2353 + aaaaaaaaaaaaaaa
1.2354 + aaaaaaaaaaaaaaaa
1.2355 +
1.2356 +/^(a\1?)(a\1?)(a\2?)(a\3?)$/
1.2357 + a
1.2358 + aa
1.2359 + aaa
1.2360 + aaaa
1.2361 + aaaaa
1.2362 + aaaaaa
1.2363 + aaaaaaa
1.2364 + aaaaaaaa
1.2365 + aaaaaaaaa
1.2366 + aaaaaaaaaa
1.2367 + aaaaaaaaaaa
1.2368 + aaaaaaaaaaaa
1.2369 + aaaaaaaaaaaaa
1.2370 + aaaaaaaaaaaaaa
1.2371 + aaaaaaaaaaaaaaa
1.2372 + aaaaaaaaaaaaaaaa
1.2373 +
1.2374 +/The following tests are taken from the Perl 5.005 test suite; some of them/
1.2375 +/are compatible with 5.004, but I'd rather not have to sort them out./
1.2376 +
1.2377 +/abc/
1.2378 + abc
1.2379 + xabcy
1.2380 + ababc
1.2381 + *** Failers
1.2382 + xbc
1.2383 + axc
1.2384 + abx
1.2385 +
1.2386 +/ab*c/
1.2387 + abc
1.2388 +
1.2389 +/ab*bc/
1.2390 + abc
1.2391 + abbc
1.2392 + abbbbc
1.2393 +
1.2394 +/.{1}/
1.2395 + abbbbc
1.2396 +
1.2397 +/.{3,4}/
1.2398 + abbbbc
1.2399 +
1.2400 +/ab{0,}bc/
1.2401 + abbbbc
1.2402 +
1.2403 +/ab+bc/
1.2404 + abbc
1.2405 + *** Failers
1.2406 + abc
1.2407 + abq
1.2408 +
1.2409 +/ab{1,}bc/
1.2410 +
1.2411 +/ab+bc/
1.2412 + abbbbc
1.2413 +
1.2414 +/ab{1,}bc/
1.2415 + abbbbc
1.2416 +
1.2417 +/ab{1,3}bc/
1.2418 + abbbbc
1.2419 +
1.2420 +/ab{3,4}bc/
1.2421 + abbbbc
1.2422 +
1.2423 +/ab{4,5}bc/
1.2424 + *** Failers
1.2425 + abq
1.2426 + abbbbc
1.2427 +
1.2428 +/ab?bc/
1.2429 + abbc
1.2430 + abc
1.2431 +
1.2432 +/ab{0,1}bc/
1.2433 + abc
1.2434 +
1.2435 +/ab?bc/
1.2436 +
1.2437 +/ab?c/
1.2438 + abc
1.2439 +
1.2440 +/ab{0,1}c/
1.2441 + abc
1.2442 +
1.2443 +/^abc$/
1.2444 + abc
1.2445 + *** Failers
1.2446 + abbbbc
1.2447 + abcc
1.2448 +
1.2449 +/^abc/
1.2450 + abcc
1.2451 +
1.2452 +/^abc$/
1.2453 +
1.2454 +/abc$/
1.2455 + aabc
1.2456 + *** Failers
1.2457 + aabc
1.2458 + aabcd
1.2459 +
1.2460 +/^/
1.2461 + abc
1.2462 +
1.2463 +/$/
1.2464 + abc
1.2465 +
1.2466 +/a.c/
1.2467 + abc
1.2468 + axc
1.2469 +
1.2470 +/a.*c/
1.2471 + axyzc
1.2472 +
1.2473 +/a[bc]d/
1.2474 + abd
1.2475 + *** Failers
1.2476 + axyzd
1.2477 + abc
1.2478 +
1.2479 +/a[b-d]e/
1.2480 + ace
1.2481 +
1.2482 +/a[b-d]/
1.2483 + aac
1.2484 +
1.2485 +/a[-b]/
1.2486 + a-
1.2487 +
1.2488 +/a[b-]/
1.2489 + a-
1.2490 +
1.2491 +/a]/
1.2492 + a]
1.2493 +
1.2494 +/a[]]b/
1.2495 + a]b
1.2496 +
1.2497 +/a[^bc]d/
1.2498 + aed
1.2499 + *** Failers
1.2500 + abd
1.2501 + abd
1.2502 +
1.2503 +/a[^-b]c/
1.2504 + adc
1.2505 +
1.2506 +/a[^]b]c/
1.2507 + adc
1.2508 + *** Failers
1.2509 + a-c
1.2510 + a]c
1.2511 +
1.2512 +/\ba\b/
1.2513 + a-
1.2514 + -a
1.2515 + -a-
1.2516 +
1.2517 +/\by\b/
1.2518 + *** Failers
1.2519 + xy
1.2520 + yz
1.2521 + xyz
1.2522 +
1.2523 +/\Ba\B/
1.2524 + *** Failers
1.2525 + a-
1.2526 + -a
1.2527 + -a-
1.2528 +
1.2529 +/\By\b/
1.2530 + xy
1.2531 +
1.2532 +/\by\B/
1.2533 + yz
1.2534 +
1.2535 +/\By\B/
1.2536 + xyz
1.2537 +
1.2538 +/\w/
1.2539 + a
1.2540 +
1.2541 +/\W/
1.2542 + -
1.2543 + *** Failers
1.2544 + -
1.2545 + a
1.2546 +
1.2547 +/a\sb/
1.2548 + a b
1.2549 +
1.2550 +/a\Sb/
1.2551 + a-b
1.2552 + *** Failers
1.2553 + a-b
1.2554 + a b
1.2555 +
1.2556 +/\d/
1.2557 + 1
1.2558 +
1.2559 +/\D/
1.2560 + -
1.2561 + *** Failers
1.2562 + -
1.2563 + 1
1.2564 +
1.2565 +/[\w]/
1.2566 + a
1.2567 +
1.2568 +/[\W]/
1.2569 + -
1.2570 + *** Failers
1.2571 + -
1.2572 + a
1.2573 +
1.2574 +/a[\s]b/
1.2575 + a b
1.2576 +
1.2577 +/a[\S]b/
1.2578 + a-b
1.2579 + *** Failers
1.2580 + a-b
1.2581 + a b
1.2582 +
1.2583 +/[\d]/
1.2584 + 1
1.2585 +
1.2586 +/[\D]/
1.2587 + -
1.2588 + *** Failers
1.2589 + -
1.2590 + 1
1.2591 +
1.2592 +/ab|cd/
1.2593 + abc
1.2594 + abcd
1.2595 +
1.2596 +/()ef/
1.2597 + def
1.2598 +
1.2599 +/$b/
1.2600 +
1.2601 +/a\(b/
1.2602 + a(b
1.2603 +
1.2604 +/a\(*b/
1.2605 + ab
1.2606 + a((b
1.2607 +
1.2608 +/a\\b/
1.2609 + a\b
1.2610 +
1.2611 +/((a))/
1.2612 + abc
1.2613 +
1.2614 +/(a)b(c)/
1.2615 + abc
1.2616 +
1.2617 +/a+b+c/
1.2618 + aabbabc
1.2619 +
1.2620 +/a{1,}b{1,}c/
1.2621 + aabbabc
1.2622 +
1.2623 +/a.+?c/
1.2624 + abcabc
1.2625 +
1.2626 +/(a+|b)*/
1.2627 + ab
1.2628 +
1.2629 +/(a+|b){0,}/
1.2630 + ab
1.2631 +
1.2632 +/(a+|b)+/
1.2633 + ab
1.2634 +
1.2635 +/(a+|b){1,}/
1.2636 + ab
1.2637 +
1.2638 +/(a+|b)?/
1.2639 + ab
1.2640 +
1.2641 +/(a+|b){0,1}/
1.2642 + ab
1.2643 +
1.2644 +/[^ab]*/
1.2645 + cde
1.2646 +
1.2647 +/abc/
1.2648 + *** Failers
1.2649 + b
1.2650 +
1.2651 +
1.2652 +/a*/
1.2653 +
1.2654 +
1.2655 +/([abc])*d/
1.2656 + abbbcd
1.2657 +
1.2658 +/([abc])*bcd/
1.2659 + abcd
1.2660 +
1.2661 +/a|b|c|d|e/
1.2662 + e
1.2663 +
1.2664 +/(a|b|c|d|e)f/
1.2665 + ef
1.2666 +
1.2667 +/abcd*efg/
1.2668 + abcdefg
1.2669 +
1.2670 +/ab*/
1.2671 + xabyabbbz
1.2672 + xayabbbz
1.2673 +
1.2674 +/(ab|cd)e/
1.2675 + abcde
1.2676 +
1.2677 +/[abhgefdc]ij/
1.2678 + hij
1.2679 +
1.2680 +/^(ab|cd)e/
1.2681 +
1.2682 +/(abc|)ef/
1.2683 + abcdef
1.2684 +
1.2685 +/(a|b)c*d/
1.2686 + abcd
1.2687 +
1.2688 +/(ab|ab*)bc/
1.2689 + abc
1.2690 +
1.2691 +/a([bc]*)c*/
1.2692 + abc
1.2693 +
1.2694 +/a([bc]*)(c*d)/
1.2695 + abcd
1.2696 +
1.2697 +/a([bc]+)(c*d)/
1.2698 + abcd
1.2699 +
1.2700 +/a([bc]*)(c+d)/
1.2701 + abcd
1.2702 +
1.2703 +/a[bcd]*dcdcde/
1.2704 + adcdcde
1.2705 +
1.2706 +/a[bcd]+dcdcde/
1.2707 + *** Failers
1.2708 + abcde
1.2709 + adcdcde
1.2710 +
1.2711 +/(ab|a)b*c/
1.2712 + abc
1.2713 +
1.2714 +/((a)(b)c)(d)/
1.2715 + abcd
1.2716 +
1.2717 +/[a-zA-Z_][a-zA-Z0-9_]*/
1.2718 + alpha
1.2719 +
1.2720 +/^a(bc+|b[eh])g|.h$/
1.2721 + abh
1.2722 +
1.2723 +/(bc+d$|ef*g.|h?i(j|k))/
1.2724 + effgz
1.2725 + ij
1.2726 + reffgz
1.2727 + *** Failers
1.2728 + effg
1.2729 + bcdd
1.2730 +
1.2731 +/((((((((((a))))))))))/
1.2732 + a
1.2733 +
1.2734 +/((((((((((a))))))))))\10/
1.2735 + aa
1.2736 +
1.2737 +/(((((((((a)))))))))/
1.2738 + a
1.2739 +
1.2740 +/multiple words of text/
1.2741 + *** Failers
1.2742 + aa
1.2743 + uh-uh
1.2744 +
1.2745 +/multiple words/
1.2746 + multiple words, yeah
1.2747 +
1.2748 +/(.*)c(.*)/
1.2749 + abcde
1.2750 +
1.2751 +/\((.*), (.*)\)/
1.2752 + (a, b)
1.2753 +
1.2754 +/[k]/
1.2755 +
1.2756 +/abcd/
1.2757 + abcd
1.2758 +
1.2759 +/a(bc)d/
1.2760 + abcd
1.2761 +
1.2762 +/a[-]?c/
1.2763 + ac
1.2764 +
1.2765 +/(abc)\1/
1.2766 + abcabc
1.2767 +
1.2768 +/([a-c]*)\1/
1.2769 + abcabc
1.2770 +
1.2771 +/(a)|\1/
1.2772 + a
1.2773 + *** Failers
1.2774 + ab
1.2775 + x
1.2776 +
1.2777 +/(([a-c])b*?\2)*/
1.2778 + ababbbcbc
1.2779 +
1.2780 +/(([a-c])b*?\2){3}/
1.2781 + ababbbcbc
1.2782 +
1.2783 +/((\3|b)\2(a)x)+/
1.2784 + aaaxabaxbaaxbbax
1.2785 +
1.2786 +/((\3|b)\2(a)){2,}/
1.2787 + bbaababbabaaaaabbaaaabba
1.2788 +
1.2789 +/abc/i
1.2790 + ABC
1.2791 + XABCY
1.2792 + ABABC
1.2793 + *** Failers
1.2794 + aaxabxbaxbbx
1.2795 + XBC
1.2796 + AXC
1.2797 + ABX
1.2798 +
1.2799 +/ab*c/i
1.2800 + ABC
1.2801 +
1.2802 +/ab*bc/i
1.2803 + ABC
1.2804 + ABBC
1.2805 +
1.2806 +/ab*?bc/i
1.2807 + ABBBBC
1.2808 +
1.2809 +/ab{0,}?bc/i
1.2810 + ABBBBC
1.2811 +
1.2812 +/ab+?bc/i
1.2813 + ABBC
1.2814 +
1.2815 +/ab+bc/i
1.2816 + *** Failers
1.2817 + ABC
1.2818 + ABQ
1.2819 +
1.2820 +/ab{1,}bc/i
1.2821 +
1.2822 +/ab+bc/i
1.2823 + ABBBBC
1.2824 +
1.2825 +/ab{1,}?bc/i
1.2826 + ABBBBC
1.2827 +
1.2828 +/ab{1,3}?bc/i
1.2829 + ABBBBC
1.2830 +
1.2831 +/ab{3,4}?bc/i
1.2832 + ABBBBC
1.2833 +
1.2834 +/ab{4,5}?bc/i
1.2835 + *** Failers
1.2836 + ABQ
1.2837 + ABBBBC
1.2838 +
1.2839 +/ab??bc/i
1.2840 + ABBC
1.2841 + ABC
1.2842 +
1.2843 +/ab{0,1}?bc/i
1.2844 + ABC
1.2845 +
1.2846 +/ab??bc/i
1.2847 +
1.2848 +/ab??c/i
1.2849 + ABC
1.2850 +
1.2851 +/ab{0,1}?c/i
1.2852 + ABC
1.2853 +
1.2854 +/^abc$/i
1.2855 + ABC
1.2856 + *** Failers
1.2857 + ABBBBC
1.2858 + ABCC
1.2859 +
1.2860 +/^abc/i
1.2861 + ABCC
1.2862 +
1.2863 +/^abc$/i
1.2864 +
1.2865 +/abc$/i
1.2866 + AABC
1.2867 +
1.2868 +/^/i
1.2869 + ABC
1.2870 +
1.2871 +/$/i
1.2872 + ABC
1.2873 +
1.2874 +/a.c/i
1.2875 + ABC
1.2876 + AXC
1.2877 +
1.2878 +/a.*?c/i
1.2879 + AXYZC
1.2880 +
1.2881 +/a.*c/i
1.2882 + *** Failers
1.2883 + AABC
1.2884 + AXYZD
1.2885 +
1.2886 +/a[bc]d/i
1.2887 + ABD
1.2888 +
1.2889 +/a[b-d]e/i
1.2890 + ACE
1.2891 + *** Failers
1.2892 + ABC
1.2893 + ABD
1.2894 +
1.2895 +/a[b-d]/i
1.2896 + AAC
1.2897 +
1.2898 +/a[-b]/i
1.2899 + A-
1.2900 +
1.2901 +/a[b-]/i
1.2902 + A-
1.2903 +
1.2904 +/a]/i
1.2905 + A]
1.2906 +
1.2907 +/a[]]b/i
1.2908 + A]B
1.2909 +
1.2910 +/a[^bc]d/i
1.2911 + AED
1.2912 +
1.2913 +/a[^-b]c/i
1.2914 + ADC
1.2915 + *** Failers
1.2916 + ABD
1.2917 + A-C
1.2918 +
1.2919 +/a[^]b]c/i
1.2920 + ADC
1.2921 +
1.2922 +/ab|cd/i
1.2923 + ABC
1.2924 + ABCD
1.2925 +
1.2926 +/()ef/i
1.2927 + DEF
1.2928 +
1.2929 +/$b/i
1.2930 + *** Failers
1.2931 + A]C
1.2932 + B
1.2933 +
1.2934 +/a\(b/i
1.2935 + A(B
1.2936 +
1.2937 +/a\(*b/i
1.2938 + AB
1.2939 + A((B
1.2940 +
1.2941 +/a\\b/i
1.2942 + A\B
1.2943 +
1.2944 +/((a))/i
1.2945 + ABC
1.2946 +
1.2947 +/(a)b(c)/i
1.2948 + ABC
1.2949 +
1.2950 +/a+b+c/i
1.2951 + AABBABC
1.2952 +
1.2953 +/a{1,}b{1,}c/i
1.2954 + AABBABC
1.2955 +
1.2956 +/a.+?c/i
1.2957 + ABCABC
1.2958 +
1.2959 +/a.*?c/i
1.2960 + ABCABC
1.2961 +
1.2962 +/a.{0,5}?c/i
1.2963 + ABCABC
1.2964 +
1.2965 +/(a+|b)*/i
1.2966 + AB
1.2967 +
1.2968 +/(a+|b){0,}/i
1.2969 + AB
1.2970 +
1.2971 +/(a+|b)+/i
1.2972 + AB
1.2973 +
1.2974 +/(a+|b){1,}/i
1.2975 + AB
1.2976 +
1.2977 +/(a+|b)?/i
1.2978 + AB
1.2979 +
1.2980 +/(a+|b){0,1}/i
1.2981 + AB
1.2982 +
1.2983 +/(a+|b){0,1}?/i
1.2984 + AB
1.2985 +
1.2986 +/[^ab]*/i
1.2987 + CDE
1.2988 +
1.2989 +/abc/i
1.2990 +
1.2991 +/a*/i
1.2992 +
1.2993 +
1.2994 +/([abc])*d/i
1.2995 + ABBBCD
1.2996 +
1.2997 +/([abc])*bcd/i
1.2998 + ABCD
1.2999 +
1.3000 +/a|b|c|d|e/i
1.3001 + E
1.3002 +
1.3003 +/(a|b|c|d|e)f/i
1.3004 + EF
1.3005 +
1.3006 +/abcd*efg/i
1.3007 + ABCDEFG
1.3008 +
1.3009 +/ab*/i
1.3010 + XABYABBBZ
1.3011 + XAYABBBZ
1.3012 +
1.3013 +/(ab|cd)e/i
1.3014 + ABCDE
1.3015 +
1.3016 +/[abhgefdc]ij/i
1.3017 + HIJ
1.3018 +
1.3019 +/^(ab|cd)e/i
1.3020 + ABCDE
1.3021 +
1.3022 +/(abc|)ef/i
1.3023 + ABCDEF
1.3024 +
1.3025 +/(a|b)c*d/i
1.3026 + ABCD
1.3027 +
1.3028 +/(ab|ab*)bc/i
1.3029 + ABC
1.3030 +
1.3031 +/a([bc]*)c*/i
1.3032 + ABC
1.3033 +
1.3034 +/a([bc]*)(c*d)/i
1.3035 + ABCD
1.3036 +
1.3037 +/a([bc]+)(c*d)/i
1.3038 + ABCD
1.3039 +
1.3040 +/a([bc]*)(c+d)/i
1.3041 + ABCD
1.3042 +
1.3043 +/a[bcd]*dcdcde/i
1.3044 + ADCDCDE
1.3045 +
1.3046 +/a[bcd]+dcdcde/i
1.3047 +
1.3048 +/(ab|a)b*c/i
1.3049 + ABC
1.3050 +
1.3051 +/((a)(b)c)(d)/i
1.3052 + ABCD
1.3053 +
1.3054 +/[a-zA-Z_][a-zA-Z0-9_]*/i
1.3055 + ALPHA
1.3056 +
1.3057 +/^a(bc+|b[eh])g|.h$/i
1.3058 + ABH
1.3059 +
1.3060 +/(bc+d$|ef*g.|h?i(j|k))/i
1.3061 + EFFGZ
1.3062 + IJ
1.3063 + REFFGZ
1.3064 + *** Failers
1.3065 + ADCDCDE
1.3066 + EFFG
1.3067 + BCDD
1.3068 +
1.3069 +/((((((((((a))))))))))/i
1.3070 + A
1.3071 +
1.3072 +/((((((((((a))))))))))\10/i
1.3073 + AA
1.3074 +
1.3075 +/(((((((((a)))))))))/i
1.3076 + A
1.3077 +
1.3078 +/(?:(?:(?:(?:(?:(?:(?:(?:(?:(a))))))))))/i
1.3079 + A
1.3080 +
1.3081 +/(?:(?:(?:(?:(?:(?:(?:(?:(?:(a|b|c))))))))))/i
1.3082 + C
1.3083 +
1.3084 +/multiple words of text/i
1.3085 + *** Failers
1.3086 + AA
1.3087 + UH-UH
1.3088 +
1.3089 +/multiple words/i
1.3090 + MULTIPLE WORDS, YEAH
1.3091 +
1.3092 +/(.*)c(.*)/i
1.3093 + ABCDE
1.3094 +
1.3095 +/\((.*), (.*)\)/i
1.3096 + (A, B)
1.3097 +
1.3098 +/[k]/i
1.3099 +
1.3100 +/abcd/i
1.3101 + ABCD
1.3102 +
1.3103 +/a(bc)d/i
1.3104 + ABCD
1.3105 +
1.3106 +/a[-]?c/i
1.3107 + AC
1.3108 +
1.3109 +/(abc)\1/i
1.3110 + ABCABC
1.3111 +
1.3112 +/([a-c]*)\1/i
1.3113 + ABCABC
1.3114 +
1.3115 +/a(?!b)./
1.3116 + abad
1.3117 +
1.3118 +/a(?=d)./
1.3119 + abad
1.3120 +
1.3121 +/a(?=c|d)./
1.3122 + abad
1.3123 +
1.3124 +/a(?:b|c|d)(.)/
1.3125 + ace
1.3126 +
1.3127 +/a(?:b|c|d)*(.)/
1.3128 + ace
1.3129 +
1.3130 +/a(?:b|c|d)+?(.)/
1.3131 + ace
1.3132 + acdbcdbe
1.3133 +
1.3134 +/a(?:b|c|d)+(.)/
1.3135 + acdbcdbe
1.3136 +
1.3137 +/a(?:b|c|d){2}(.)/
1.3138 + acdbcdbe
1.3139 +
1.3140 +/a(?:b|c|d){4,5}(.)/
1.3141 + acdbcdbe
1.3142 +
1.3143 +/a(?:b|c|d){4,5}?(.)/
1.3144 + acdbcdbe
1.3145 +
1.3146 +/((foo)|(bar))*/
1.3147 + foobar
1.3148 +
1.3149 +/a(?:b|c|d){6,7}(.)/
1.3150 + acdbcdbe
1.3151 +
1.3152 +/a(?:b|c|d){6,7}?(.)/
1.3153 + acdbcdbe
1.3154 +
1.3155 +/a(?:b|c|d){5,6}(.)/
1.3156 + acdbcdbe
1.3157 +
1.3158 +/a(?:b|c|d){5,6}?(.)/
1.3159 + acdbcdbe
1.3160 +
1.3161 +/a(?:b|c|d){5,7}(.)/
1.3162 + acdbcdbe
1.3163 +
1.3164 +/a(?:b|c|d){5,7}?(.)/
1.3165 + acdbcdbe
1.3166 +
1.3167 +/a(?:b|(c|e){1,2}?|d)+?(.)/
1.3168 + ace
1.3169 +
1.3170 +/^(.+)?B/
1.3171 + AB
1.3172 +
1.3173 +/^([^a-z])|(\^)$/
1.3174 + .
1.3175 +
1.3176 +/^[<>]&/
1.3177 + <&OUT
1.3178 +
1.3179 +/^(a\1?){4}$/
1.3180 + aaaaaaaaaa
1.3181 + *** Failers
1.3182 + AB
1.3183 + aaaaaaaaa
1.3184 + aaaaaaaaaaa
1.3185 +
1.3186 +/^(a(?(1)\1)){4}$/
1.3187 + aaaaaaaaaa
1.3188 + *** Failers
1.3189 + aaaaaaaaa
1.3190 + aaaaaaaaaaa
1.3191 +
1.3192 +/(?:(f)(o)(o)|(b)(a)(r))*/
1.3193 + foobar
1.3194 +
1.3195 +/(?<=a)b/
1.3196 + ab
1.3197 + *** Failers
1.3198 + cb
1.3199 + b
1.3200 +
1.3201 +/(?<!c)b/
1.3202 + ab
1.3203 + b
1.3204 + b
1.3205 +
1.3206 +/(?:..)*a/
1.3207 + aba
1.3208 +
1.3209 +/(?:..)*?a/
1.3210 + aba
1.3211 +
1.3212 +/^(?:b|a(?=(.)))*\1/
1.3213 + abc
1.3214 +
1.3215 +/^(){3,5}/
1.3216 + abc
1.3217 +
1.3218 +/^(a+)*ax/
1.3219 + aax
1.3220 +
1.3221 +/^((a|b)+)*ax/
1.3222 + aax
1.3223 +
1.3224 +/^((a|bc)+)*ax/
1.3225 + aax
1.3226 +
1.3227 +/(a|x)*ab/
1.3228 + cab
1.3229 +
1.3230 +/(a)*ab/
1.3231 + cab
1.3232 +
1.3233 +/(?:(?i)a)b/
1.3234 + ab
1.3235 +
1.3236 +/((?i)a)b/
1.3237 + ab
1.3238 +
1.3239 +/(?:(?i)a)b/
1.3240 + Ab
1.3241 +
1.3242 +/((?i)a)b/
1.3243 + Ab
1.3244 +
1.3245 +/(?:(?i)a)b/
1.3246 + *** Failers
1.3247 + cb
1.3248 + aB
1.3249 +
1.3250 +/((?i)a)b/
1.3251 +
1.3252 +/(?i:a)b/
1.3253 + ab
1.3254 +
1.3255 +/((?i:a))b/
1.3256 + ab
1.3257 +
1.3258 +/(?i:a)b/
1.3259 + Ab
1.3260 +
1.3261 +/((?i:a))b/
1.3262 + Ab
1.3263 +
1.3264 +/(?i:a)b/
1.3265 + *** Failers
1.3266 + aB
1.3267 + aB
1.3268 +
1.3269 +/((?i:a))b/
1.3270 +
1.3271 +/(?:(?-i)a)b/i
1.3272 + ab
1.3273 +
1.3274 +/((?-i)a)b/i
1.3275 + ab
1.3276 +
1.3277 +/(?:(?-i)a)b/i
1.3278 + aB
1.3279 +
1.3280 +/((?-i)a)b/i
1.3281 + aB
1.3282 +
1.3283 +/(?:(?-i)a)b/i
1.3284 + *** Failers
1.3285 + aB
1.3286 + Ab
1.3287 +
1.3288 +/((?-i)a)b/i
1.3289 +
1.3290 +/(?:(?-i)a)b/i
1.3291 + aB
1.3292 +
1.3293 +/((?-i)a)b/i
1.3294 + aB
1.3295 +
1.3296 +/(?:(?-i)a)b/i
1.3297 + *** Failers
1.3298 + Ab
1.3299 + AB
1.3300 +
1.3301 +/((?-i)a)b/i
1.3302 +
1.3303 +/(?-i:a)b/i
1.3304 + ab
1.3305 +
1.3306 +/((?-i:a))b/i
1.3307 + ab
1.3308 +
1.3309 +/(?-i:a)b/i
1.3310 + aB
1.3311 +
1.3312 +/((?-i:a))b/i
1.3313 + aB
1.3314 +
1.3315 +/(?-i:a)b/i
1.3316 + *** Failers
1.3317 + AB
1.3318 + Ab
1.3319 +
1.3320 +/((?-i:a))b/i
1.3321 +
1.3322 +/(?-i:a)b/i
1.3323 + aB
1.3324 +
1.3325 +/((?-i:a))b/i
1.3326 + aB
1.3327 +
1.3328 +/(?-i:a)b/i
1.3329 + *** Failers
1.3330 + Ab
1.3331 + AB
1.3332 +
1.3333 +/((?-i:a))b/i
1.3334 +
1.3335 +/((?-i:a.))b/i
1.3336 + *** Failers
1.3337 + AB
1.3338 + a\nB
1.3339 +
1.3340 +/((?s-i:a.))b/i
1.3341 + a\nB
1.3342 +
1.3343 +/(?:c|d)(?:)(?:a(?:)(?:b)(?:b(?:))(?:b(?:)(?:b)))/
1.3344 + cabbbb
1.3345 +
1.3346 +/(?:c|d)(?:)(?:aaaaaaaa(?:)(?:bbbbbbbb)(?:bbbbbbbb(?:))(?:bbbbbbbb(?:)(?:bbbbbbbb)))/
1.3347 + caaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
1.3348 +
1.3349 +/(ab)\d\1/i
1.3350 + Ab4ab
1.3351 + ab4Ab
1.3352 +
1.3353 +/foo\w*\d{4}baz/
1.3354 + foobar1234baz
1.3355 +
1.3356 +/x(~~)*(?:(?:F)?)?/
1.3357 + x~~
1.3358 +
1.3359 +/^a(?#xxx){3}c/
1.3360 + aaac
1.3361 +
1.3362 +/^a (?#xxx) (?#yyy) {3}c/x
1.3363 + aaac
1.3364 +
1.3365 +/(?<![cd])b/
1.3366 + *** Failers
1.3367 + B\nB
1.3368 + dbcb
1.3369 +
1.3370 +/(?<![cd])[ab]/
1.3371 + dbaacb
1.3372 +
1.3373 +/(?<!(c|d))b/
1.3374 +
1.3375 +/(?<!(c|d))[ab]/
1.3376 + dbaacb
1.3377 +
1.3378 +/(?<!cd)[ab]/
1.3379 + cdaccb
1.3380 +
1.3381 +/^(?:a?b?)*$/
1.3382 + \
1.3383 + a
1.3384 + ab
1.3385 + aaa
1.3386 + *** Failers
1.3387 + dbcb
1.3388 + a--
1.3389 + aa--
1.3390 +
1.3391 +/((?s)^a(.))((?m)^b$)/
1.3392 + a\nb\nc\n
1.3393 +
1.3394 +/((?m)^b$)/
1.3395 + a\nb\nc\n
1.3396 +
1.3397 +/(?m)^b/
1.3398 + a\nb\n
1.3399 +
1.3400 +/(?m)^(b)/
1.3401 + a\nb\n
1.3402 +
1.3403 +/((?m)^b)/
1.3404 + a\nb\n
1.3405 +
1.3406 +/\n((?m)^b)/
1.3407 + a\nb\n
1.3408 +
1.3409 +/((?s).)c(?!.)/
1.3410 + a\nb\nc\n
1.3411 + a\nb\nc\n
1.3412 +
1.3413 +/((?s)b.)c(?!.)/
1.3414 + a\nb\nc\n
1.3415 + a\nb\nc\n
1.3416 +
1.3417 +/^b/
1.3418 +
1.3419 +/()^b/
1.3420 + *** Failers
1.3421 + a\nb\nc\n
1.3422 + a\nb\nc\n
1.3423 +
1.3424 +/((?m)^b)/
1.3425 + a\nb\nc\n
1.3426 +
1.3427 +/(x)?(?(1)a|b)/
1.3428 + *** Failers
1.3429 + a
1.3430 + a
1.3431 +
1.3432 +/(x)?(?(1)b|a)/
1.3433 + a
1.3434 +
1.3435 +/()?(?(1)b|a)/
1.3436 + a
1.3437 +
1.3438 +/()(?(1)b|a)/
1.3439 +
1.3440 +/()?(?(1)a|b)/
1.3441 + a
1.3442 +
1.3443 +/^(\()?blah(?(1)(\)))$/
1.3444 + (blah)
1.3445 + blah
1.3446 + *** Failers
1.3447 + a
1.3448 + blah)
1.3449 + (blah
1.3450 +
1.3451 +/^(\(+)?blah(?(1)(\)))$/
1.3452 + (blah)
1.3453 + blah
1.3454 + *** Failers
1.3455 + blah)
1.3456 + (blah
1.3457 +
1.3458 +/(?(?!a)a|b)/
1.3459 +
1.3460 +/(?(?!a)b|a)/
1.3461 + a
1.3462 +
1.3463 +/(?(?=a)b|a)/
1.3464 + *** Failers
1.3465 + a
1.3466 + a
1.3467 +
1.3468 +/(?(?=a)a|b)/
1.3469 + a
1.3470 +
1.3471 +/(?=(a+?))(\1ab)/
1.3472 + aaab
1.3473 +
1.3474 +/^(?=(a+?))\1ab/
1.3475 +
1.3476 +/(\w+:)+/
1.3477 + one:
1.3478 +
1.3479 +/$(?<=^(a))/
1.3480 + a
1.3481 +
1.3482 +/(?=(a+?))(\1ab)/
1.3483 + aaab
1.3484 +
1.3485 +/^(?=(a+?))\1ab/
1.3486 + *** Failers
1.3487 + aaab
1.3488 + aaab
1.3489 +
1.3490 +/([\w:]+::)?(\w+)$/
1.3491 + abcd
1.3492 + xy:z:::abcd
1.3493 +
1.3494 +/^[^bcd]*(c+)/
1.3495 + aexycd
1.3496 +
1.3497 +/(a*)b+/
1.3498 + caab
1.3499 +
1.3500 +/([\w:]+::)?(\w+)$/
1.3501 + abcd
1.3502 + xy:z:::abcd
1.3503 + *** Failers
1.3504 + abcd:
1.3505 + abcd:
1.3506 +
1.3507 +/^[^bcd]*(c+)/
1.3508 + aexycd
1.3509 +
1.3510 +/(>a+)ab/
1.3511 +
1.3512 +/(?>a+)b/
1.3513 + aaab
1.3514 +
1.3515 +/([[:]+)/
1.3516 + a:[b]:
1.3517 +
1.3518 +/([[=]+)/
1.3519 + a=[b]=
1.3520 +
1.3521 +/([[.]+)/
1.3522 + a.[b].
1.3523 +
1.3524 +/((?>a+)b)/
1.3525 + aaab
1.3526 +
1.3527 +/(?>(a+))b/
1.3528 + aaab
1.3529 +
1.3530 +/((?>[^()]+)|\([^()]*\))+/
1.3531 + ((abc(ade)ufh()()x
1.3532 +
1.3533 +/a\Z/
1.3534 + *** Failers
1.3535 + aaab
1.3536 + a\nb\n
1.3537 +
1.3538 +/b\Z/
1.3539 + a\nb\n
1.3540 +
1.3541 +/b\z/
1.3542 +
1.3543 +/b\Z/
1.3544 + a\nb
1.3545 +
1.3546 +/b\z/
1.3547 + a\nb
1.3548 + *** Failers
1.3549 +
1.3550 +/^(?>(?(1)\.|())[^\W_](?>[a-z0-9-]*[^\W_])?)+$/
1.3551 + a
1.3552 + abc
1.3553 + a-b
1.3554 + 0-9
1.3555 + a.b
1.3556 + 5.6.7
1.3557 + the.quick.brown.fox
1.3558 + a100.b200.300c
1.3559 + 12-ab.1245
1.3560 + *** Failers
1.3561 + \
1.3562 + .a
1.3563 + -a
1.3564 + a-
1.3565 + a.
1.3566 + a_b
1.3567 + a.-
1.3568 + a..
1.3569 + ab..bc
1.3570 + the.quick.brown.fox-
1.3571 + the.quick.brown.fox.
1.3572 + the.quick.brown.fox_
1.3573 + the.quick.brown.fox+
1.3574 +
1.3575 +/(?>.*)(?<=(abcd|wxyz))/
1.3576 + alphabetabcd
1.3577 + endingwxyz
1.3578 + *** Failers
1.3579 + a rather long string that doesn't end with one of them
1.3580 +
1.3581 +/word (?>(?:(?!otherword)[a-zA-Z0-9]+ ){0,30})otherword/
1.3582 + word cat dog elephant mussel cow horse canary baboon snake shark otherword
1.3583 + word cat dog elephant mussel cow horse canary baboon snake shark
1.3584 +
1.3585 +/word (?>[a-zA-Z0-9]+ ){0,30}otherword/
1.3586 + word cat dog elephant mussel cow horse canary baboon snake shark the quick brown fox and the lazy dog and several other words getting close to thirty by now I hope
1.3587 +
1.3588 +/(?<=\d{3}(?!999))foo/
1.3589 + 999foo
1.3590 + 123999foo
1.3591 + *** Failers
1.3592 + 123abcfoo
1.3593 +
1.3594 +/(?<=(?!...999)\d{3})foo/
1.3595 + 999foo
1.3596 + 123999foo
1.3597 + *** Failers
1.3598 + 123abcfoo
1.3599 +
1.3600 +/(?<=\d{3}(?!999)...)foo/
1.3601 + 123abcfoo
1.3602 + 123456foo
1.3603 + *** Failers
1.3604 + 123999foo
1.3605 +
1.3606 +/(?<=\d{3}...)(?<!999)foo/
1.3607 + 123abcfoo
1.3608 + 123456foo
1.3609 + *** Failers
1.3610 + 123999foo
1.3611 +
1.3612 +/<a[\s]+href[\s]*=[\s]* # find <a href=
1.3613 + ([\"\'])? # find single or double quote
1.3614 + (?(1) (.*?)\1 | ([^\s]+)) # if quote found, match up to next matching
1.3615 + # quote, otherwise match up to next space
1.3616 +/isx
1.3617 + <a href=abcd xyz
1.3618 + <a href=\"abcd xyz pqr\" cats
1.3619 + <a href=\'abcd xyz pqr\' cats
1.3620 +
1.3621 +/<a\s+href\s*=\s* # find <a href=
1.3622 + (["'])? # find single or double quote
1.3623 + (?(1) (.*?)\1 | (\S+)) # if quote found, match up to next matching
1.3624 + # quote, otherwise match up to next space
1.3625 +/isx
1.3626 + <a href=abcd xyz
1.3627 + <a href=\"abcd xyz pqr\" cats
1.3628 + <a href = \'abcd xyz pqr\' cats
1.3629 +
1.3630 +/<a\s+href(?>\s*)=(?>\s*) # find <a href=
1.3631 + (["'])? # find single or double quote
1.3632 + (?(1) (.*?)\1 | (\S+)) # if quote found, match up to next matching
1.3633 + # quote, otherwise match up to next space
1.3634 +/isx
1.3635 + <a href=abcd xyz
1.3636 + <a href=\"abcd xyz pqr\" cats
1.3637 + <a href = \'abcd xyz pqr\' cats
1.3638 +
1.3639 +/((Z)+|A)*/
1.3640 + ZABCDEFG
1.3641 +
1.3642 +/(Z()|A)*/
1.3643 + ZABCDEFG
1.3644 +
1.3645 +/(Z(())|A)*/
1.3646 + ZABCDEFG
1.3647 +
1.3648 +/((?>Z)+|A)*/
1.3649 + ZABCDEFG
1.3650 +
1.3651 +/((?>)+|A)*/
1.3652 + ZABCDEFG
1.3653 +
1.3654 +/a*/g
1.3655 + abbab
1.3656 +
1.3657 +/^[a-\d]/
1.3658 + abcde
1.3659 + -things
1.3660 + 0digit
1.3661 + *** Failers
1.3662 + bcdef
1.3663 +
1.3664 +/^[\d-a]/
1.3665 + abcde
1.3666 + -things
1.3667 + 0digit
1.3668 + *** Failers
1.3669 + bcdef
1.3670 +
1.3671 +/[[:space:]]+/
1.3672 + > \x09\x0a\x0c\x0d\x0b<
1.3673 +
1.3674 +/[[:blank:]]+/
1.3675 + > \x09\x0a\x0c\x0d\x0b<
1.3676 +
1.3677 +/[\s]+/
1.3678 + > \x09\x0a\x0c\x0d\x0b<
1.3679 +
1.3680 +/\s+/
1.3681 + > \x09\x0a\x0c\x0d\x0b<
1.3682 +
1.3683 +/ab/x
1.3684 + ab
1.3685 +
1.3686 +/(?!\A)x/m
1.3687 + a\nxb\n
1.3688 +
1.3689 +/(?!^)x/m
1.3690 + a\nxb\n
1.3691 +
1.3692 +/abc\Qabc\Eabc/
1.3693 + abcabcabc
1.3694 +
1.3695 +/abc\Q(*+|\Eabc/
1.3696 + abc(*+|abc
1.3697 +
1.3698 +/ abc\Q abc\Eabc/x
1.3699 + abc abcabc
1.3700 + *** Failers
1.3701 + abcabcabc
1.3702 +
1.3703 +/abc#comment
1.3704 + \Q#not comment
1.3705 + literal\E/x
1.3706 + abc#not comment\n literal
1.3707 +
1.3708 +/abc#comment
1.3709 + \Q#not comment
1.3710 + literal/x
1.3711 + abc#not comment\n literal
1.3712 +
1.3713 +/abc#comment
1.3714 + \Q#not comment
1.3715 + literal\E #more comment
1.3716 + /x
1.3717 + abc#not comment\n literal
1.3718 +
1.3719 +/abc#comment
1.3720 + \Q#not comment
1.3721 + literal\E #more comment/x
1.3722 + abc#not comment\n literal
1.3723 +
1.3724 +/\Qabc\$xyz\E/
1.3725 + abc\\\$xyz
1.3726 +
1.3727 +/\Qabc\E\$\Qxyz\E/
1.3728 + abc\$xyz
1.3729 +
1.3730 +/\Gabc/
1.3731 + abc
1.3732 + *** Failers
1.3733 + xyzabc
1.3734 +
1.3735 +/\Gabc./g
1.3736 + abc1abc2xyzabc3
1.3737 +
1.3738 +/abc./g
1.3739 + abc1abc2xyzabc3
1.3740 +
1.3741 +/a(?x: b c )d/
1.3742 + XabcdY
1.3743 + *** Failers
1.3744 + Xa b c d Y
1.3745 +
1.3746 +/((?x)x y z | a b c)/
1.3747 + XabcY
1.3748 + AxyzB
1.3749 +
1.3750 +/(?i)AB(?-i)C/
1.3751 + XabCY
1.3752 + *** Failers
1.3753 + XabcY
1.3754 +
1.3755 +/((?i)AB(?-i)C|D)E/
1.3756 + abCE
1.3757 + DE
1.3758 + *** Failers
1.3759 + abcE
1.3760 + abCe
1.3761 + dE
1.3762 + De
1.3763 +
1.3764 +/(.*)\d+\1/
1.3765 + abc123abc
1.3766 + abc123bc
1.3767 +
1.3768 +/(.*)\d+\1/s
1.3769 + abc123abc
1.3770 + abc123bc
1.3771 +
1.3772 +/((.*))\d+\1/
1.3773 + abc123abc
1.3774 + abc123bc
1.3775 +
1.3776 +/-- This tests for an IPv6 address in the form where it can have up to --/
1.3777 +/-- eight components, one and only one of which is empty. This must be --/
1.3778 +/-- an internal component. --/
1.3779 +
1.3780 +/^(?!:) # colon disallowed at start
1.3781 + (?: # start of item
1.3782 + (?: [0-9a-f]{1,4} | # 1-4 hex digits or
1.3783 + (?(1)0 | () ) ) # if null previously matched, fail; else null
1.3784 + : # followed by colon
1.3785 + ){1,7} # end item; 1-7 of them required
1.3786 + [0-9a-f]{1,4} $ # final hex number at end of string
1.3787 + (?(1)|.) # check that there was an empty component
1.3788 + /xi
1.3789 + a123::a123
1.3790 + a123:b342::abcd
1.3791 + a123:b342::324e:abcd
1.3792 + a123:ddde:b342::324e:abcd
1.3793 + a123:ddde:b342::324e:dcba:abcd
1.3794 + a123:ddde:9999:b342::324e:dcba:abcd
1.3795 + *** Failers
1.3796 + 1:2:3:4:5:6:7:8
1.3797 + a123:bce:ddde:9999:b342::324e:dcba:abcd
1.3798 + a123::9999:b342::324e:dcba:abcd
1.3799 + abcde:2:3:4:5:6:7:8
1.3800 + ::1
1.3801 + abcd:fee0:123::
1.3802 + :1
1.3803 + 1:
1.3804 +
1.3805 +/[z\Qa-d]\E]/
1.3806 + z
1.3807 + a
1.3808 + -
1.3809 + d
1.3810 + ]
1.3811 + *** Failers
1.3812 + b
1.3813 +
1.3814 +/[\z\C]/
1.3815 + z
1.3816 + C
1.3817 +
1.3818 +/\M/
1.3819 + M
1.3820 +
1.3821 +/(a+)*b/
1.3822 + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
1.3823 +
1.3824 +/(?i)reg(?:ul(?:[a�]|ae)r|ex)/
1.3825 + REGular
1.3826 + regulaer
1.3827 + Regex
1.3828 + regul�r
1.3829 +
1.3830 +/����[�-��-�]+/
1.3831 + �����
1.3832 + �����
1.3833 + �����
1.3834 + �����
1.3835 +
1.3836 +/(?<=Z)X./
1.3837 + \x84XAZXB
1.3838 +
1.3839 +/ab cd (?x) de fg/
1.3840 + ab cd defg
1.3841 +
1.3842 +/ab cd(?x) de fg/
1.3843 + ab cddefg
1.3844 + ** Failers
1.3845 + abcddefg
1.3846 +
1.3847 +/(?<![^f]oo)(bar)/
1.3848 + foobarX
1.3849 + ** Failers
1.3850 + boobarX
1.3851 +
1.3852 +/(?<![^f])X/
1.3853 + offX
1.3854 + ** Failers
1.3855 + onyX
1.3856 +
1.3857 +/(?<=[^f])X/
1.3858 + onyX
1.3859 + ** Failers
1.3860 + offX
1.3861 +
1.3862 +/^/mg
1.3863 + a\nb\nc\n
1.3864 + \
1.3865 +
1.3866 +/(?<=C\n)^/mg
1.3867 + A\nC\nC\n
1.3868 +
1.3869 +/(?:(?(1)a|b)(X))+/
1.3870 + bXaX
1.3871 +
1.3872 +/(?:(?(1)\1a|b)(X|Y))+/
1.3873 + bXXaYYaY
1.3874 + bXYaXXaX
1.3875 +
1.3876 +/()()()()()()()()()(?:(?(10)\10a|b)(X|Y))+/
1.3877 + bXXaYYaY
1.3878 +
1.3879 +/[[,abc,]+]/
1.3880 + abc]
1.3881 + a,b]
1.3882 + [a,b,c]
1.3883 +
1.3884 +/(?-x: )/x
1.3885 + A\x20B
1.3886 +
1.3887 +"(?x)(?-x: \s*#\s*)"
1.3888 + A # B
1.3889 + ** Failers
1.3890 + #
1.3891 +
1.3892 +"(?x-is)(?:(?-ixs) \s*#\s*) include"
1.3893 + A #include
1.3894 + ** Failers
1.3895 + A#include
1.3896 + A #Include
1.3897 +
1.3898 +/a*b*\w/
1.3899 + aaabbbb
1.3900 + aaaa
1.3901 + a
1.3902 +
1.3903 +/a*b?\w/
1.3904 + aaabbbb
1.3905 + aaaa
1.3906 + a
1.3907 +
1.3908 +/a*b{0,4}\w/
1.3909 + aaabbbb
1.3910 + aaaa
1.3911 + a
1.3912 +
1.3913 +/a*b{0,}\w/
1.3914 + aaabbbb
1.3915 + aaaa
1.3916 + a
1.3917 +
1.3918 +/a*\d*\w/
1.3919 + 0a
1.3920 + a
1.3921 +
1.3922 +/a*b *\w/x
1.3923 + a
1.3924 +
1.3925 +/a*b#comment
1.3926 + *\w/x
1.3927 + a
1.3928 +
1.3929 +/a* b *\w/x
1.3930 + a
1.3931 +
1.3932 +/^\w+=.*(\\\n.*)*/
1.3933 + abc=xyz\\\npqr
1.3934 +
1.3935 +/(?=(\w+))\1:/
1.3936 + abcd:
1.3937 +
1.3938 +/^(?=(\w+))\1:/
1.3939 + abcd:
1.3940 +
1.3941 +/^\Eabc/
1.3942 + abc
1.3943 +
1.3944 +/^[\Eabc]/
1.3945 + a
1.3946 + ** Failers
1.3947 + E
1.3948 +
1.3949 +/^[a-\Ec]/
1.3950 + b
1.3951 + ** Failers
1.3952 + -
1.3953 + E
1.3954 +
1.3955 +/^[a\E\E-\Ec]/
1.3956 + b
1.3957 + ** Failers
1.3958 + -
1.3959 + E
1.3960 +
1.3961 +/^[\E\Qa\E-\Qz\E]+/
1.3962 + b
1.3963 + ** Failers
1.3964 + -
1.3965 +
1.3966 +/^[a\Q]bc\E]/
1.3967 + a
1.3968 + ]
1.3969 + c
1.3970 +
1.3971 +/^[a-\Q\E]/
1.3972 + a
1.3973 + -
1.3974 +
1.3975 +/^(a()*)*/
1.3976 + aaaa
1.3977 +
1.3978 +/^(?:a(?:(?:))*)*/
1.3979 + aaaa
1.3980 +
1.3981 +/^(a()+)+/
1.3982 + aaaa
1.3983 +
1.3984 +/^(?:a(?:(?:))+)+/
1.3985 + aaaa
1.3986 +
1.3987 +/(a){0,3}(?(1)b|(c|))*D/
1.3988 + abbD
1.3989 + ccccD
1.3990 + D
1.3991 +
1.3992 +/(a|)*\d/
1.3993 + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
1.3994 + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4
1.3995 +
1.3996 +/(?>a|)*\d/
1.3997 + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
1.3998 + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4
1.3999 +
1.4000 +/(?:a|)*\d/
1.4001 + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
1.4002 + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4
1.4003 +
1.4004 +/\Z/g
1.4005 + abc\n
1.4006 +
1.4007 +/^(?s)(?>.*)(?<!\n)/
1.4008 + abc
1.4009 + abc\n
1.4010 +
1.4011 +/^(?![^\n]*\n\z)/
1.4012 + abc
1.4013 + abc\n
1.4014 +
1.4015 +/\z(?<!\n)/
1.4016 + abc
1.4017 + abc\n
1.4018 +
1.4019 +/(.*(.)?)*/
1.4020 + abcd
1.4021 +
1.4022 +/( (A | (?(1)0|) )* )/x
1.4023 + abcd
1.4024 +
1.4025 +/( ( (?(1)0|) )* )/x
1.4026 + abcd
1.4027 +
1.4028 +/( (?(1)0|)* )/x
1.4029 + abcd
1.4030 +
1.4031 +/[[:abcd:xyz]]/
1.4032 + a]
1.4033 + :]
1.4034 +
1.4035 +/[abc[:x\]pqr]/
1.4036 + a
1.4037 + [
1.4038 + :
1.4039 + ]
1.4040 + p
1.4041 +
1.4042 +/.*[op][xyz]/
1.4043 + fooabcfoo
1.4044 +
1.4045 +/(?(?=.*b)b|^)/
1.4046 + adc
1.4047 + abc
1.4048 +
1.4049 +/(?(?=^.*b)b|^)/
1.4050 + adc
1.4051 + abc
1.4052 +
1.4053 +/(?(?=.*b)b|^)*/
1.4054 + adc
1.4055 + abc
1.4056 +
1.4057 +/(?(?=.*b)b|^)+/
1.4058 + adc
1.4059 + abc
1.4060 +
1.4061 +/(?(?=b).*b|^d)/
1.4062 + abc
1.4063 +
1.4064 +/(?(?=.*b).*b|^d)/
1.4065 + abc
1.4066 +
1.4067 +/^%((?(?=[a])[^%])|b)*%$/
1.4068 + %ab%
1.4069 +
1.4070 +/ End of testinput1 /