1 /-- This set of tests is not Perl-compatible. It checks on special features
2 of PCRE's API, error diagnostics, and the compiled code of some patterns.
3 It also checks the non-Perl syntax the PCRE supports (Python, .NET,
4 Oniguruma). Finally, there are some tests where PCRE and Perl differ,
5 either because PCRE can't be compatible, or there is a possible Perl
8 NOTE: This is a non-UTF set of tests. When UTF support is needed, use
9 test 5, and if Unicode Property Support is needed, use test 7. --/
80 this sentence eventually mentions a cat
81 this sentences rambles on and on for a while and then reaches elephant
84 this sentence eventually mentions a cat
85 this sentences rambles on and on for a while and then reaches elephant
88 this sentence eventually mentions a CAT cat
89 this sentences rambles on and on for a while to elephant ElePhant
129 /the quick brown fox/I
131 this is a line with the quick brown fox
133 /the quick brown fox/IA
136 this is a line with the quick brown fox
153 co-processors, and for
176 /(?<!bar|cattle)foo/I
229 /(a*b|(?i:c*(?-i)d))/IS
249 /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/I
254 /(?<!foo)(alpha|omega)/IS
284 /The next three are in testinput2 because they have variable length branches/
286 /(?<=bullock|donkey)-cart/I
295 /(?>.*)(?<=(abcd)|(xyz))/I
299 /(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/I
318 /This one is here because Perl behaves differently; see also the following/I
324 /Perl does not fail these two for the final subjects. Neither did PCRE until/
325 /release 8.01. The problem is in backtracking into a subpattern that contains/
326 /a recursive reference to itself. PCRE has now made these into atomic patterns./
338 /These are syntax tests from Perl 5.005/I
414 abcdefghijklmnopqrstuvwxyz
415 abcdefghijklmnopqrstuvwxyz\C1
416 abcdefghijklmnopqrstuvwxyz\G1
419 abcdefghijklmnopqrstuvwxyz
420 abcdefghijklmnopqrstuvwxyz\C1\G1
423 abcdefghijklmnopqrstuvwxyz
424 abcdefghijklmnopqrstuvwxyz\C1\G1\L
434 /word ((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+
435 )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+
436 )?)?)?)?)?)?)?)?)?otherword/I
565 /a(?(1)bag|big)*(.)/I
567 /a(?(1)bag|big)+(.)/I
591 (?: # Non-capturing bracket
592 (?>[^()]+) # Either a sequence of non-brackets (no backtracking)
594 (?R) # Recurse - i.e. nested bracketed string
595 )* # Zero or more contents
604 12(abcde(fsh)xyz(foo(bar))lmno)89
610 /\( ( (?>[^()]+) | (?R) )* \) /Ixg
614 /\( (?: (?>[^()]+) | (?R) ) \) /Ix
622 /\( (?: (?>[^()]+) | (?R) )? \) /Ix
624 12(abcde(fsh)xyz(foo(bar))lmno)89
626 /\( ( (?>[^()]+) | (?R) )* \) /Ix
629 /\( ( ( (?>[^()]+) | (?R) )* ) \) /Ix
632 /\( (123)? ( ( (?>[^()]+) | (?R) )* ) \) /Ix
636 /\( ( (123)? ( (?>[^()]+) | (?R) )* ) \) /Ix
640 /\( (((((((((( ( (?>[^()]+) | (?R) )* )))))))))) \) /Ix
643 /\( ( ( (?>[^()<>]+) | ((?>[^()]+)) | (?R) )* ) \) /Ix
646 /\( ( ( (?>[^()]+) | ((?R)) )* ) \) /Ix
668 /[\n\x0b\x0c\x0d[:blank:]]/IS
712 /((?-i)[[:lower:]])[[:lower:]]/Ii
723 /This one's here because of the large output vector needed/I
725 /(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\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$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\d+(?:\s|$))(\w+)\s+(\270)/I
726 \O900 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 ABC ABC
728 /This one's here because Perl does this differently and PCRE can't at present/I
734 /These are all cases where Perl does it differently (nested captures)/I
757 /^(?:aa(b(?:b))?)+$/I
760 /^(?:aa(bb(?:b))?)+$/I
763 /^(?:aa(b(?:bb))?)+$/I
766 /^(?:aa(?:b(b))?)+$/I
769 /^(?:aa(?:b(bb))?)+$/I
778 /--------------------------------------------------------------------/I
805 /123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ
807 /\Q123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ
845 now is the time for all good men to come to the aid of the party
847 this is not a line with only words and spaces!
863 /([^()]++|\([^()]*\))+/I
866 /\(([^()]++|\([^()]+\))+\)/I
870 ((()aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
888 /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/DZ
923 /[[:space:]abcde]/IDZ
925 /< (?: (?(R) \d++ | [^<>]*+) | (?R)) * >/Ix
935 |8J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jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDZ
1020 /(?C1)\dabc(?C2)def/IS
1025 /(?C1)\dabc(?C2)def/ISS
1042 /(abc)(?C)de(?C1)f/I
1060 /((xyz)(?C)p|(?C1)xyzabc)/I
1063 /(X)((xyz)(?C)p|(?C1)xyzabc)/I
1066 /(?=(abc))(?C)abcdef/I
1069 /(?!(abc)(?C1)d)(?C2)abcxyz/I
1072 /(?<=(abc)(?C))xyz/I
1091 /(ab|(bc|(de|(?R))))/I
1093 /x(ab|(bc|(de|(?R))))/I
1102 /(ab|(bc|(de|(?1))))/I
1104 /x(ab|(bc|(de|(?1)x)x)x)/I
1106 /^([^()]|\((?1)*\))*$/I
1113 /^>abc>([^()]|\((?1)*\))*<xyz<$/I
1122 /^(\d+|\((?1)([+*-])(?1)\)|-(?1))$/I
1136 /((< (?: (?(R) \d++ | [^<>]*+) | (?2)) * >))/Ix
1163 /a(?P<name1>b|c)d(?P<longername2>e)/DZ
1167 /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/DZ
1169 /(?P<a>a)...(?P=a)bbb(?P>a)d/DZ
1171 /^\W*(?:(?P<one>(?P<two>.)\W*(?P>one)\W*(?P=two)|)|(?P<three>(?P<four>.)\W*(?P>three)\W*(?P=four)|\W*.\W*))\W*$/Ii
1173 Satan, oscillate my metallic sonatas!
1174 A man, a plan, a canal: Panama!
1175 Able was I ere I saw Elba.
1179 /((?(R)a|b))\1(?1)?/I
1191 /((.*)a|(.*)b)z\1/Is
1193 /((.*)a|(.*)b)z\2/Is
1195 /((.*)a|(.*)b)z\3/Is
1197 /((.*)a|^(.*)b)z\3/Is
1199 /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a/Is
1201 /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\31/Is
1203 /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\32/Is
1208 /(?P<one>a)(bc)/INDZ
1211 /(a)(?P<named>bc)/INDZ
1214 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazzbbbbbb\M
1223 /ab(?P<one>cd)ef(?P<two>gh)/I
1229 /(?P<Tes>)(?P<Test>)/DZ
1231 /(?P<Test>)(?P<Tes>)/DZ
1233 /(?P<Z>zz)(?P<A>aa)/I
1237 /(?P<x>eks)(?P<x>eccs)/I
1239 /(?P<abc>abc(?P<def>def)(?P<abc>xyz))/I
1241 "\[((?P<elem>\d+)(,(?P>elem))*)\]"I
1242 [10,20,30,5,5,4,4,2,43,23,4234]
1246 "\[((?P<elem>\d+)(,(?P>elem))*)?\]"I
1247 [10,20,30,5,5,4,4,2,43,23,4234]
1254 /(a(b(?2)c)){0,2}/DZ
1258 /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/Ii
1259 Baby Bjorn Active Carrier - With free SHIPPING!!
1261 /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/IiS
1262 Baby Bjorn Active Carrier - With free SHIPPING!!
1268 /abc(?C255)de(?C)f/DZ
1306 /([ab]{,4}c|xy)/ICDZS
1307 Note: that { does NOT introduce a quantifier
1309 /([ab]{,4}c|xy)/ICDZSS
1310 Note: that { does NOT introduce a quantifier
1312 /([ab]{1,4}c|xy){4,5}?123/ICDZ
1329 the quick brown abc\P
1331 the quick brown abxyz fox\P
1333 "^(0?[1-9]|[12][0-9]|3[01])/(0?[1-9]|1[012])/(20)?\d\d$"I
1385 /abc/IS>testsavedregex
1391 /abc/ISS>testsavedregex
1397 /abc/IFS>testsavedregex
1403 /abc/IFSS>testsavedregex
1409 /(a|b)/IS>testsavedregex
1415 /(a|b)/ISS>testsavedregex
1421 /(a|b)/ISF>testsavedregex
1427 /(a|b)/ISSF>testsavedregex
1433 ~<(\w+)/?>(.)*</(\1)>~smgI
1434 \J1024<!DOCTYPE seite SYSTEM "http://www.lco.lineas.de/xmlCms.dtd">\n<seite>\n<dokumenteninformation>\n<seitentitel>Partner der LCO</seitentitel>\n<sprache>de</sprache>\n<seitenbeschreibung>Partner der LINEAS Consulting\nGmbH</seitenbeschreibung>\n<schluesselworte>LINEAS Consulting GmbH Hamburg\nPartnerfirmen</schluesselworte>\n<revisit>30 days</revisit>\n<robots>index,follow</robots>\n<menueinformation>\n<aktiv>ja</aktiv>\n<menueposition>3</menueposition>\n<menuetext>Partner</menuetext>\n</menueinformation>\n<lastedited>\n<autor>LCO</autor>\n<firma>LINEAS Consulting</firma>\n<datum>15.10.2003</datum>\n</lastedited>\n</dokumenteninformation>\n<inhalt>\n\n<absatzueberschrift>Die Partnerfirmen der LINEAS Consulting\nGmbH</absatzueberschrift>\n\n<absatz><link ziel="http://www.ca.com/" zielfenster="_blank">\n<bild name="logo_ca.gif" rahmen="no"/></link> <link\nziel="http://www.ey.com/" zielfenster="_blank"><bild\nname="logo_euy.gif" rahmen="no"/></link>\n</absatz>\n\n<absatz><link ziel="http://www.cisco.de/" zielfenster="_blank">\n<bild name="logo_cisco.gif" rahmen="ja"/></link></absatz>\n\n<absatz><link ziel="http://www.atelion.de/"\nzielfenster="_blank"><bild\nname="logo_atelion.gif" rahmen="no"/></link>\n</absatz>\n\n<absatz><link ziel="http://www.line-information.de/"\nzielfenster="_blank">\n<bild name="logo_line_information.gif" rahmen="no"/></link>\n</absatz>\n\n<absatz><bild name="logo_aw.gif" rahmen="no"/></absatz>\n\n<absatz><link ziel="http://www.incognis.de/"\nzielfenster="_blank"><bild\nname="logo_incognis.gif" rahmen="no"/></link></absatz>\n\n<absatz><link ziel="http://www.addcraft.com/"\nzielfenster="_blank"><bild\nname="logo_addcraft.gif" rahmen="no"/></link></absatz>\n\n<absatz><link ziel="http://www.comendo.com/"\nzielfenster="_blank"><bild\nname="logo_comendo.gif" rahmen="no"/></link></absatz>\n\n</inhalt>\n</seite>
1439 this is a line\nbreak
1440 line one\nthis is a line\nbreak in the second line
1443 this is a line\nbreak
1445 line one\nthis is a line\nbreak in the second line
1448 this is a line\nbreak
1450 line one\nthis is a line\nbreak in the second line
1457 /a{11111111111111111111}/I
1463 "(?i:a)(?i:b)(?i:c)(?i:d)(?i:e)(?i:f)(?i:g)(?i:h)(?i:i)(?i:j)(k)(?i:l)A\1B"I
1466 "(?P<n0>a)(?P<n1>b)(?P<n2>c)(?P<n3>d)(?P<n4>e)(?P<n5>f)(?P<n6>g)(?P<n7>h)(?P<n8>i)(?P<n9>j)(?P<n10>k)(?P<n11>l)A\11B"I
1469 "(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)(l)A\11B"I
1472 "(?P<name0>a)(?P<name1>a)(?P<name2>a)(?P<name3>a)(?P<name4>a)(?P<name5>a)(?P<name6>a)(?P<name7>a)(?P<name8>a)(?P<name9>a)(?P<name10>a)(?P<name11>a)(?P<name12>a)(?P<name13>a)(?P<name14>a)(?P<name15>a)(?P<name16>a)(?P<name17>a)(?P<name18>a)(?P<name19>a)(?P<name20>a)(?P<name21>a)(?P<name22>a)(?P<name23>a)(?P<name24>a)(?P<name25>a)(?P<name26>a)(?P<name27>a)(?P<name28>a)(?P<name29>a)(?P<name30>a)(?P<name31>a)(?P<name32>a)(?P<name33>a)(?P<name34>a)(?P<name35>a)(?P<name36>a)(?P<name37>a)(?P<name38>a)(?P<name39>a)(?P<name40>a)(?P<name41>a)(?P<name42>a)(?P<name43>a)(?P<name44>a)(?P<name45>a)(?P<name46>a)(?P<name47>a)(?P<name48>a)(?P<name49>a)(?P<name50>a)(?P<name51>a)(?P<name52>a)(?P<name53>a)(?P<name54>a)(?P<name55>a)(?P<name56>a)(?P<name57>a)(?P<name58>a)(?P<name59>a)(?P<name60>a)(?P<name61>a)(?P<name62>a)(?P<name63>a)(?P<name64>a)(?P<name65>a)(?P<name66>a)(?P<name67>a)(?P<name68>a)(?P<name69>a)(?P<name70>a)(?P<name71>a)(?P<name72>a)(?P<name73>a)(?P<name74>a)(?P<name75>a)(?P<name76>a)(?P<name77>a)(?P<name78>a)(?P<name79>a)(?P<name80>a)(?P<name81>a)(?P<name82>a)(?P<name83>a)(?P<name84>a)(?P<name85>a)(?P<name86>a)(?P<name87>a)(?P<name88>a)(?P<name89>a)(?P<name90>a)(?P<name91>a)(?P<name92>a)(?P<name93>a)(?P<name94>a)(?P<name95>a)(?P<name96>a)(?P<name97>a)(?P<name98>a)(?P<name99>a)(?P<name100>a)"I
1473 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
1475 "(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)(a)"I
1476 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
1478 /[^()]*(?:\((?R)\)[^()]*)*/I
1481 (this(and)that)stuff
1483 /[^()]*(?:\((?>(?R))\)[^()]*)*/I
1487 /[^()]*(?:\((?R)\))*[^()]*/I
1491 /(?:\((?R)\))*[^()]*/I
1496 /(?:\((?R)\))|[^()]*/I
1504 /^((?P<A>a1)|(?P<A>a2)b)/I
1506 /^((?P<A>a1)|(?P<A>a2)b)/IJ
1512 /(?|(?<a>)(?<b>)(?<a>)|(?<a>)(?<b>)(?<a>))/IJ
1514 /^(?P<A>a)(?P<A>b)/IJ
1517 /^(?P<A>a)(?P<A>b)|cd/IJ
1521 /^(?P<A>a)(?P<A>b)|cd(?P<A>ef)(?P<A>gh)/IJ
1524 /^((?P<A>a1)|(?P<A>a2)b)/IJ
1530 /^(?P<A>a)(?P<A>b)/IJ
1533 /^(?P<A>a)(?P<A>b)|cd/IJ
1537 /^(?P<A>a)(?P<A>b)|cd(?P<A>ef)(?P<A>gh)/IJ
1540 /(?J)^((?P<A>a1)|(?P<A>a2)b)/I
1544 /^(?P<A>a) (?J:(?P<B>b)(?P<B>c)) (?P<A>d)/I
1546 / In this next test, J is not set at the outer level; consequently it isn't
1547 set in the pattern's options; consequently pcre_get_named_substring() produces
1550 /^(?P<A>a) (?J:(?P<B>b)(?P<B>c)) (?P<C>d)/I
1553 /^(?P<A>a)?(?(A)a|b)/I
1559 /(?:(?(ZZ)a|b)(?P<ZZ>X))+/I
1562 /(?:(?(2y)a|b)(X))+/I
1564 /(?:(?(ZA)a|b)(?P<ZZ>X))+/I
1566 /(?:(?(ZZ)a|b)(?(ZZ)a|b)(?P<ZZ>X))+/I
1569 /(?:(?(ZZ)a|\(b\))\\(?P<ZZ>X))+/I
1574 /(?:(?(A)(?P=A)a|b)(?P<A>X|Y))+/I
1578 /()()()()()()()()()(?:(?(A)(?P=A)a|b)(?P<A>X|Y))+/I
1605 xyzabc\r\npqr\<crlf>
1652 +((?:\s|//.*\\n|/[*](?:\\n|.)*?[*]/)*)+I
1653 /* this is a C style comment */\M
1655 /(?P<B>25[0-5]|2[0-4]\d|[01]?\d?\d)(?:\.(?P>B)){3}/I
1657 /()()()()()()()()()()()()()()()()()()()()
1658 ()()()()()()()()()()()()()()()()()()()()
1659 ()()()()()()()()()()()()()()()()()()()()
1660 ()()()()()()()()()()()()()()()()()()()()
1661 ()()()()()()()()()()()()()()()()()()()()
1665 /(a*b|(?i:c*(?-i)d))/IS
1702 /((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
1703 ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
1706 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
1707 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
1844 /(?P<abc>x)(?P<xyz>y)/I
1847 /(?<abc>x)(?'xyz'y)/I
1850 /(?<abc'x)(?'xyz'y)/I
1852 /(?<abc>x)(?'xyz>y)/I
1854 /(?P'abc'x)(?P<xyz>y)/I
1856 /^(?:(?(ZZ)a|b)(?<ZZ>X))+/
1863 /^(?P>abc)(?<abcd>xxx)/
1865 /^(?P>abc)(?<abc>x|y)/
1871 /^(?P>abc)(?P<abc>x|y)/
1877 /^((?(abc)a|b)(?<abc>x|y))+/
1883 /^(((?P=abc)|X)(?<abc>x|y))+/
1893 /^(?:(?:\1|X)(a|b))+/
1897 /^[\E\Qa\E-\Qz\E]+/BZ
1903 /^(?P>abc)[()](?<abc>)/BZ
1905 /^((?(abc)y)[()](?P<abc>x))+/BZ
1908 /^(?P>abc)\Q()\E(?<abc>)/BZ
1910 /^(?P>abc)[a\Q(]\E(](?<abc>)/BZ
1912 /^(?P>abc) # this is (a comment)
1915 /^\W*(?:(?<one>(?<two>.)\W*(?&one)\W*\k<two>|)|(?<three>(?<four>.)\W*(?&three)\W*\k'four'|\W*.\W*))\W*$/Ii
1917 Satan, oscillate my metallic sonatas!
1918 A man, a plan, a canal: Panama!
1919 Able was I ere I saw Elba.
1926 /(?=(?'abc'\w+))\k<abc>:/I
1929 /(?'abc'a|b)(?<abc>d|e)\k<abc>{2}/J
1935 /(?'abc'a|b)(?<abc>d|e)(?&abc){2}/J
1947 /((abc (?(R) (?(R1)1) (?(R2)2) X | (?1) (?2) (?R) ))) /x
1948 abcabc1Xabc2XabcXabcabc
1950 /(?<A> (?'B' abc (?(R) (?(R&A)1) (?(R&B)2) X | (?1) (?2) (?R) ))) /x
1951 abcabc1Xabc2XabcXabcabc
1953 /(?<A> (?'B' abc (?(R) (?(R&C)1) (?(R&B)2) X | (?1) (?2) (?R) ))) /x
1955 /^(?(DEFINE) abc | xyz ) /x
1957 /(?(DEFINE) abc) xyz/xI
1960 \O0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
1961 \O0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4
1976 abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x85abc7 JUNK
1979 abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x85 abc7 abc9
1985 /^a\Rb/<bsr_unicode>
1995 /^a\R*b/<bsr_unicode>
2006 /^a\R+b/<bsr_unicode>
2018 /^a\R{1,3}b/<bsr_unicode>
2030 /^a[\R]b/<bsr_unicode>
2035 /(?&abc)X(?<abc>P)/I
2041 /(?:a(?&abc)b)*(?<abc>x)/
2045 /(?:a(?&abc)b){1,5}(?<abc>x)/
2048 /(?:a(?&abc)b){2,5}(?<abc>x)/
2051 /(?:a(?&abc)b){2,}(?<abc>x)/
2109 /(?m)^$|^\r\n/<any>g+
2116 abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x85 abc9
2139 /^(abc)?(?(-1)X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)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)
2234 /A(*PRUNE)B(*SKIP)C(*THEN)D(*COMMIT)E(*F)F(*FAIL)G(?!)H(*ACCEPT)I/BZ
2242 /a+b?(*PRUNE)c+(*FAIL)/C
2245 /a+b?(*COMMIT)c+(*FAIL)/C
2248 /a+b?(*SKIP)c+(*FAIL)/C
2251 /a+b?(*THEN)c+(*FAIL)/C
2256 /(?i:A{1,}\6666666666)/
2321 /a\Rb/I<bsr_anycrlf>
2329 /a\Rb/I<bsr_unicode>
2336 a\x85b\<bsr_anycrlf>
2337 a\x0bb\<bsr_anycrlf>
2339 /a\R?b/I<bsr_anycrlf>
2347 /a\R?b/I<bsr_unicode>
2354 a\x85b\<bsr_anycrlf>
2355 a\x0bb\<bsr_anycrlf>
2357 /a\R{2,4}b/I<bsr_anycrlf>
2365 /a\R{2,4}b/I<bsr_unicode>
2373 a\x85\85b\<bsr_anycrlf>
2374 a\x0b\0bb\<bsr_anycrlf>
2376 /(*BSR_ANYCRLF)a\Rb/I
2380 /(*BSR_UNICODE)a\Rb/I
2383 /(*BSR_ANYCRLF)(*CRLF)a\Rb/I
2387 /(*CRLF)(*BSR_UNICODE)a\Rb/I
2390 /(*CRLF)(*BSR_ANYCRLF)(*CR)ab/I
2396 /(?<a>)(?&aaaaaaaaaaaaaaaaaaaaaaa)/
2454 /^(?+1)(?<a>x|y){0}z/
2488 /(?2)[]a()b](abc)(xyz)/
2491 /(?&N)[]a(?<N>)](?<M>abc)/
2494 /(?&N)[]a(?<N>)](abc)/
2532 /(abc|pqr|123){0}[xyz]/SI
2552 /(*NO_START_OPT)xyz/C
2555 /(*NO_AUTO_POSSESS)a+b/BZ
2560 /^"((?(?=[a])[^"])|b)*"$/C
2563 /^"((?(?=[a])[^"])|b)*"$/
2566 /^X(?5)(a)(?|(b)|(q))(c)(d)Y/
2569 /^X(?&N)(a)(?|(b)|(q))(c)(d)(?<N>Y)/
2750 /(?&word)(?&element)(?(DEFINE)(?<element><[^m][^>]>[^<])(?<word>\w*+))/BZ
2752 /(?&word)(?&element)(?(DEFINE)(?<element><[^\d][^>]>[^<])(?<word>\w*+))/BZ
2754 /(ab)(x(y)z(cd(*ACCEPT)))pq/BZ
2764 /^(?:(?=abc)|abc\K)/+
2788 /^(?<name>a|b\g<name>c)/
2794 /^(?<name>a|b\g'name'c)/
2824 /(?-i:\g<name>)(?i:(?<name>a))/
2828 /(?i:\g<name>)(?-i:(?<name>a))/
2833 /(?-i:\g<+1>)(?i:(a))/
2837 /(?=(?<regex>(?#simplesyntax)\$(?<name>[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*)(?:\[(?<index>[a-zA-Z0-9_\x{7f}-\x{ff}]+|\$\g<name>)\]|->\g<name>(\(.*?\))?)?|(?#simple syntax withbraces)\$\{(?:\g<name>(?<indices>\[(?:\g<index>|'(?:\\.|[^'\\])*'|"(?:\g<regex>|\\.|[^"\\])*")\])?|\g<complex>|\$\{\g<complex>\})\}|(?#complexsyntax)\{(?<complex>\$(?<segment>\g<name>(\g<indices>*|\(.*?\))?)(?:->\g<segment>)*|\$\g<complex>|\$\{\g<complex>\})\}))\{/
2843 /^X(?7)(a)(?|(b)|(q)(r)(s))(c)(d)(Y)/
2860 /(?<=b(?1))xyz(b+)pqrstuvew/
2872 /(a|bbbb\1)(a|bbbb\1)/SI
2876 /^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]/SI
2878 /<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>/isIS
2882 /(?(?=[^a-z]+[a-z]) \d{2}-[a-z]{3}-\d{2} | \d{2}-\d{2}-\d{2} ) /xSI
2884 /(?:(?:(?:(?:(?:(?:(?:(?:(?:(a|b|c))))))))))/iSI
2886 /(?:c|d)(?:)(?:aaaaaaaa(?:)(?:bbbbbbbb)(?:bbbbbbbb(?:))(?:bbbbbbbb(?:)(?:bbbbbbbb)))/SI
2888 /<a[\s]+href[\s]*=[\s]* # find <a href=
2889 ([\"\'])? # find single or double quote
2890 (?(1) (.*?)\1 | ([^\s]+)) # if quote found, match up to next matching
2891 # quote, otherwise match up to next space
2894 /^(?!:) # colon disallowed at start
2896 (?: [0-9a-f]{1,4} | # 1-4 hex digits or
2897 (?(1)0 | () ) ) # if null previously matched, fail; else null
2898 : # followed by colon
2899 ){1,7} # end item; 1-7 of them required
2900 [0-9a-f]{1,4} $ # final hex number at end of string
2901 (?(1)|.) # check that there was an empty component
2904 /(?|(?<a>A)|(?<a>B))/I
2908 /(?|(?<a>A)|(?<b>B))/
2910 /(?:a(?<quote> (?<apostrophe>')|(?<realquote>")) |
2911 b(?<quote> (?<apostrophe>')|(?<realquote>")) )
2912 (?('quote')[a-z]+|[0-9]+)/JIx
2919 /^(?|(a)(b)(c)(?<D>d)|(?<D>e)) (?('D')X|Y)/JDZx
2926 /(?<A>a) (b)(c) (?<A>d (?(R&A)$ | (?4)) )/JDZx
2953 /-- This is not in the Perl-compatible test because Perl seems currently to be
2954 broken and not behaving as specified in that it *does* bumpalong after
2955 hitting (*COMMIT). --/
2957 /(?1)(A(*COMMIT)|B)D/
2975 /i(?(DEFINE)(?<s>a))/SI
2992 /^(ab(c\1)d|x){2}$/BZ
2995 /^(?&t)*+(?(DEFINE)(?<t>.))$/BZ
2997 /^(?&t)*(?(DEFINE)(?<t>.))$/BZ
2999 / -- This one is here because Perl gives the match as "b" rather than "ab". I
3000 believe this to be a Perl bug. --/
3005 /(?P<L1>(?P<L2>0|)|(?P>L2)(?P>L1))/
3013 /--- This should, and does, fail. In Perl, it does not, which I think is a
3014 bug because replacing the B in the pattern by (B|D) does make it fail. ---/
3019 /--- These should be different, but in Perl they are not, which I think
3020 is a bug in Perl. ---/
3022 /A(*THEN)B|A(*THEN)C/K
3025 /A(*PRUNE)B|A(*PRUNE)C/K
3028 /--- Mark names can be duplicated. Perl doesn't give a mark for this one,
3029 though PCRE does. ---/
3031 /^A(*:A)B|^X(*:A)Y/K
3035 /--- COMMIT at the start of a pattern should be the same as an anchor. Perl
3036 optimizations defeat this. So does the PCRE optimization unless we disable it
3044 /^(ab (c+(*THEN)cd) | xyz)/x
3047 /^(ab (c+(*PRUNE)cd) | xyz)/x
3050 /^(ab (c+(*FAIL)cd) | xyz)/x
3053 /--- Perl gets some of these wrong ---/
3159 /(?P<abn>(?P=abn)xxx)/BZ
3163 /(?P<abn>(?P=abn)(?<badstufxxx)/BZ
3165 /(?P<abn>(?P=axn)xxx)/BZ
3167 /(?P<abn>(?P=axn)xxx)(?<axn>yy)/BZ
3169 /-- These tests are here because Perl gets the first one wrong. --/
3181 /((?>\r\n|\n|\x0b|\f|\r|\x85)*)(.)/s
3258 /-- Perl doesn't get these right IMO (the 3rd is PCRE-specific) --/
3260 /(?1)(?:(b(*ACCEPT))){0}/
3263 /(?1)(?:(b(*ACCEPT))){0}c/
3268 /(?1)(?:((*ACCEPT))){0}c/
3272 /^.*?(?(?=a)a|b(*THEN)c)/
3278 /^.*?(?(?=a)a(*THEN)b|c)/
3281 /^.*?(?(?=a)a(*THEN)b)c/
3287 /^.*? (?1) c (?(DEFINE)(a(*THEN)b))/x
3290 /^.*?(a(*THEN)b|z)c/
3293 /^.*?(z|a(*THEN)b)c/
3298 /-- These studied versions are here because they are not Perl-compatible; the
3299 studying means the mark is not seen. --/
3301 /(*MARK:A)(*SKIP:B)(C|X)/KS
3305 /(*:A)A+(*SKIP:A)(B|Z)/KS
3314 /(?1)c(?(DEFINE)((*ACCEPT)b))/
3335 /(?(DEFINE)(a(?2)|b)(b(?1)|a))(?:(?1)|(?2))/SI
3337 /(a(?2)|b)(b(?1)|a)(?:(?1)|(?2))/SI
3339 /(a(?2)|b)(b(?1)|a)(?1)(?2)/SI
3351 /(?:(foo)|(bar)|(baz))X/SS=
3376 /^(?=(a)){0}b(?1)/BZ
3378 /(?(DEFINE)(a))?b(?1)/BZ
3380 /^(?=(?1))?[az]([abc])d/BZ
3391 /((?(R2)a+|(?1)b))/SS
3394 /(?(R)a*(?1)|((?R))b)/SS
3399 /^(a(*:A)(d|e(*:B))z|aeq)/C
3407 /\btype\b\W*?\btext\b\W*?\bjavascript\b/IS
3409 /\btype\b\W*?\btext\b\W*?\bjavascript\b|\burl\b\W*?\bshell:|<input\b.*?\btype\b\W*?\bimage\b|\bonkeyup\b\W*?\=/IS
3411 /a(*SKIP)c|b(*ACCEPT)|/+S!I
3414 /a(*SKIP)c|b(*ACCEPT)cd(*ACCEPT)|x/SI
3429 \Mabbbbbbbbbbbbbbbbbbbbba
3431 /a(?:.(*THEN))*?a/ims
3432 \Mabbbbbbbbbbbbbbbbbbbbba
3434 /a(?:.(*THEN:ABC))*?a/ims
3435 \Mabbbbbbbbbbbbbbbbbbbbba
3437 /^(?>a+)(?>(z+))\w/BZ
3448 /(.)((?(1)c|a)|a(?2))/
3451 /(?P<abn>(?P=abn)xxx)/BZ
3455 /^(?>a+)(?>b+)(?>c+)(?>d+)(?>e+)/
3458 /^(?>(a+))(?>(b+))(?>(c+))(?>(d+))(?>(e+))/
3461 /^(?>(a+))(?>b+)(?>(c+))(?>d+)(?>(e+))/
3504 /(a)(?2){0,1999}?(b)/
3506 /(a)(?(DEFINE)(b))(?2){0,1999}?(?2)/
3508 /--- This test, with something more complicated than individual letters, causes
3509 different behaviour in Perl. Perhaps it disables some optimization; no tag is
3510 passed back for the failures, whereas in PCRE there is a tag. ---/
3512 /(A|P)(*:A)(B|P) | (X|P)(X|P)(*:B)(Y|P)/xK
3521 /-- Perl doesn't give marks for these, though it does if the alternatives are
3522 replaced by single letters. --/
3524 /(b|q)(*:m)f|a(*:n)w/K
3529 /(q|b)(*:m)f|a(*:n)w/K
3534 /-- After a partial match, the behaviour is as for a failure. --/
3539 /-- These are here because Perl doesn't return a mark, except for the first --/
3544 /(?=(*:x))((*:y)q|)/K+
3547 /(?=(*:x))(?:(*:y)q|)/K+
3550 /(?=(*:x))(?>(*:y)q|)/K+
3553 /(?=a(*:x))(?!a(*:y)c)/K+
3556 /(?=a(*:x))(?=a(*:y)c|)/K+
3691 "AB(C(D))(E(F))?(?(?=\2)(?=\4))"
3694 /-- These are all run as real matches in test 1; here we are just checking the
3695 settings of the anchored and startline bits. --/
3715 /(?>.*?)(?<=(abcd)|(wxyz))/I
3717 /(?>.*)(?<=(abcd)|(wxyz))/I
3729 /-- Check PCRE_STUDY_EXTRA_NEEDED --/
3735 /(?:(a)+(?C1)bb|aa(?C2)b)/
3738 /(?:(a)++(?C1)bb|aa(?C2)b)/
3741 /(?:(?>(a))(?C1)bb|aa(?C2)b)/
3744 /(?:(?1)(?C1)x|ab(?C2))((a)){0}/
3747 /(?1)(?C1)((a)(?C2)){0}/
3750 /(?:(a)+(?C1)bb|aa(?C2)b)++/
3762 /(?<=123)(*MARK:xx)abc/K
3773 /(?C1)^(?C2)(?(?C99)(?=(?C3)a(?C4))(?C5)a(?C6)a(?C7)|(?C8)b(?C9)b(?C10))(?C11)/
3776 /-- Perl seems to have a bug with this one --/
3778 /aaaaa(*COMMIT)(*PRUNE)b|a+c/
3781 /-- Here are some that Perl treats differently because of the way it handles
3782 backtracking verbs. --/
3784 /(?!a(*COMMIT)b)ac|ad/
3788 /^(?!a(*THEN)b|ac)../
3795 /\A.*?(?:a|b(*THEN)c)/
3798 /\A.*?(?:a|b(*THEN)c)++/
3801 /\A.*?(?:a|b(*THEN)c|d)/
3804 /(?:(a(*MARK:X)a+(*SKIP:X)b)){0}(?:(?1)|aac)/
3807 /\A.*?(a|b(*THEN)c)/
3810 /^(A(*THEN)B|A(*THEN)D)/
3813 /(?!b(*THEN)a)bn|bnn/
3816 /(?(?=b(*SKIP)a)bn|bnn)/
3819 /(?=b(*THEN)a|)bn|bnn/
3822 /-------------------------/
3824 /(*LIMIT_MATCH=12bc)abc/
3826 /(*LIMIT_MATCH=4294967290)abc/
3828 /(*LIMIT_RECURSION=4294967280)abc/I
3832 aaaaaaaaaaaaaz\q3000
3837 /(*LIMIT_MATCH=3000)(a+)*zz/I
3839 aaaaaaaaaaaaaz\q60000
3841 /(*LIMIT_MATCH=60000)(*LIMIT_MATCH=3000)(a+)*zz/I
3844 /(*LIMIT_MATCH=60000)(a+)*zz/I
3846 aaaaaaaaaaaaaz\q3000
3848 /(*LIMIT_RECURSION=10)(a+)*zz/IS-
3850 aaaaaaaaaaaaaz\Q1000
3852 /(*LIMIT_RECURSION=10)(*LIMIT_RECURSION=1000)(a+)*zz/IS-
3855 /(*LIMIT_RECURSION=1000)(a+)*zz/IS-
3859 /-- This test causes a segfault with Perl 5.18.0 --/
3864 /(?|(?<n>f)|(?<n>b))/JI
3866 /(?<a>abc)(?<a>z)\k<a>()/JDZS
3872 /-- A complete set of tests for auto-possessification of character types --/
3874 /\D+\D \D+\d \D+\S \D+\s \D+\W \D+\w \D+. \D+\C \D+\R \D+\H \D+\h \D+\V \D+\v \D+\Z \D+\z \D+$/BZx
3876 /\d+\D \d+\d \d+\S \d+\s \d+\W \d+\w \d+. \d+\C \d+\R \d+\H \d+\h \d+\V \d+\v \d+\Z \d+\z \d+$/BZx
3878 /\S+\D \S+\d \S+\S \S+\s \S+\W \S+\w \S+. \S+\C \S+\R \S+\H \S+\h \S+\V \S+\v \S+\Z \S+\z \S+$/BZx
3880 /\s+\D \s+\d \s+\S \s+\s \s+\W \s+\w \s+. \s+\C \s+\R \s+\H \s+\h \s+\V \s+\v \s+\Z \s+\z \s+$/BZx
3882 /\W+\D \W+\d \W+\S \W+\s \W+\W \W+\w \W+. \W+\C \W+\R \W+\H \W+\h \W+\V \W+\v \W+\Z \W+\z \W+$/BZx
3884 /\w+\D \w+\d \w+\S \w+\s \w+\W \w+\w \w+. \w+\C \w+\R \w+\H \w+\h \w+\V \w+\v \w+\Z \w+\z \w+$/BZx
3886 /\C+\D \C+\d \C+\S \C+\s \C+\W \C+\w \C+. \C+\C \C+\R \C+\H \C+\h \C+\V \C+\v \C+\Z \C+\z \C+$/BZx
3888 /\R+\D \R+\d \R+\S \R+\s \R+\W \R+\w \R+. \R+\C \R+\R \R+\H \R+\h \R+\V \R+\v \R+\Z \R+\z \R+$/BZx
3890 /\H+\D \H+\d \H+\S \H+\s \H+\W \H+\w \H+. \H+\C \H+\R \H+\H \H+\h \H+\V \H+\v \H+\Z \H+\z \H+$/BZx
3892 /\h+\D \h+\d \h+\S \h+\s \h+\W \h+\w \h+. \h+\C \h+\R \h+\H \h+\h \h+\V \h+\v \h+\Z \h+\z \h+$/BZx
3894 /\V+\D \V+\d \V+\S \V+\s \V+\W \V+\w \V+. \V+\C \V+\R \V+\H \V+\h \V+\V \V+\v \V+\Z \V+\z \V+$/BZx
3896 /\v+\D \v+\d \v+\S \v+\s \v+\W \v+\w \v+. \v+\C \v+\R \v+\H \v+\h \v+\V \v+\v \v+\Z \v+\z \v+$/BZx
3898 / a+\D a+\d a+\S a+\s a+\W a+\w a+. a+\C a+\R a+\H a+\h a+\V a+\v a+\Z a+\z a+$/BZx
3900 /\n+\D \n+\d \n+\S \n+\s \n+\W \n+\w \n+. \n+\C \n+\R \n+\H \n+\h \n+\V \n+\v \n+\Z \n+\z \n+$/BZx
3902 / .+\D .+\d .+\S .+\s .+\W .+\w .+. .+\C .+\R .+\H .+\h .+\V .+\v .+\Z .+\z .+$/BZx
3904 / .+\D .+\d .+\S .+\s .+\W .+\w .+. .+\C .+\R .+\H .+\h .+\V .+\v .+\Z .+\z .+$/BZxs
3906 /\D+$ \d+$ \S+$ \s+$ \W+$ \w+$ \C+$ \R+$ \H+$ \h+$ \V+$ \v+$ a+$ \n+$ .+$ .+$/BZxm
3910 /a+(bb|cc)a+(?:bb|cc)a+(?>bb|cc)a+(?:bb|cc)+a+(aa)a+(?:bb|aa)/BZ
3912 /a+(bb|cc)?#a+(?:bb|cc)??#a+(?:bb|cc)?+#a+(?:bb|cc)*#a+(bb|cc)?a#a+(?:aa)?/BZ
3914 /a+(?:bb)?a#a+(?:|||)#a+(?:|b)a#a+(?:|||)?a/BZ
3946 /\d+\s{0,5}=\s*\S?=\w{0,4}\W*/BZ
3948 /[a-d]{5,12}[e-z0-9]*#[^a-z]+[b-y]*a[2-7]?[^0-9a-z]+/BZ
3950 /[a-z]*\s#[ \t]?\S#[a-c]*\S#[C-G]+?\d#[4-8]*\D#[4-9,]*\D#[!$]{0,5}\w#[M-Xf-l]+\W#[a-c,]?\W/BZ
3952 /a+(aa|bb)*c#a*(bb|cc)*a#a?(bb|cc)*d#[a-f]*(g|hh)*f/BZ
3954 /[a-f]*(g|hh|i)*i#[a-x]{4,}(y{0,6})*y#[a-k]+(ll|mm)+n/BZ
3956 /[a-f]*(?>gg|hh)+#[a-f]*(?>gg|hh)?#[a-f]*(?>gg|hh)*a#[a-f]*(?>gg|hh)*h/BZ
3968 /-- End of special auto-possessive tests --/
4006 /(?&1abc)xx(?<1abc>y)/
4024 /(?&1abc)xx(?<1abc>y)/
4026 /(?P>1abc)xx(?<1abc>y)/
4040 /(((a\2)|(a*)\g<-1>))*a?/BZ
4042 /-- Test the ugly "start or end of word" compatibility syntax --/
4044 /[[:<:]]red[[:>:]]/BZ
4045 little red riding hood
4053 /[a[:<:]] should give error/
4061 / -- Test stack check external calls --/
4069 /^\w+(?>\s*)(?<=\w)/BZ
4083 "((?=(?(?=(?(?=(?(?=()))))))))"
4086 "(?(?=)==)(((((((((?=)))))))))"
4089 /^(?:(a)|b)(?(1)A|B)/I
4093 '^(?:(?<AA>a)|b)(?(<AA>)A|B)'
4097 '^(?<AA>)(?:(?<AA>a)|b)(?(<AA>)A|B)'J
4101 '^(?:(?<AA>X)|)(?:(?<AA>a)|b)\k{AA}'J
4105 /(?<N111>(?J)(?<N111>1(111111)11|)1|1|)(?(<N111>)1)/
4109 /(?(?=0)(?=00)?00765)/
4112 /(?(?=0)(?=00)?00765|(?!3).56)/
4153 /((?2){73}(?2))((?1))/
4157 /(?1)()((((((\1++))\x85)+)|))/
4159 /(\9*+(?2);\3++()2|)++{/
4161 /\V\x85\9*+((?2)\3++()2)*:2/
4163 /(((?(R)){0,2}) (?''((?'R')((?'R')))))/J
4165 /(((?(X)){0,2}) (?''((?'X')((?'X')))))/J
4167 /(((?(R)){0,2}) (?''((?'X')((?'R')))))/
4169 "(?J)(?'d'(?'d'\g{d}))"
4171 ".*?\h.+.\.+\R*?\xd(?i)(?=!(?=b`b`b`\`b\xa9b!)`\a`bbbbbbbbbbbbb`bbbbbbbbbbbb*R\x85bbbbbbb\C?{((?2)(?))((
4172 \H){8(?<=(?1){29}\xa8bbbb\x16\xd\xc6^($(?<! )(\xa9H4){4}h}1)B))\x15')"
4174 "(?J:(?|(?'R')(\k'R')|((?'R'))))"
4176 /(?<=|(\,\$(?73591620449005828816)\xa8.{7}){6}\x09)/
4181 /^(?:(?(1)x|)+)+$()/BZ
4183 /(?=di(?<=(?1))|(?=(.))))/
4187 /[[:\\](?'abc')[a:]/
4189 "[[[.\xe8Nq\xffq\xff\xe0\x2|||::Nq\xffq\xff\xe0\x6\x2|||::[[[:[::::::[[[[[::::::::[:[[[:[:::[[[[[[[[[[[[:::::::::::::::::[[.\xe8Nq\xffq\xff\xe0\x2|||::Nq\xffq\xff\xe0\x6\x2|||::[[[:[::::::[[[[[::::::::[:[[[:[:::[[[[[[[[[[[[[[:::E[[[:[:[[:[:::[[:::E[[[:[:[[:'[:::::E[[[:[::::::[[[:[[[[[[[::E[[[:[::::::[[[:[[[[[[[[:[[::[::::[[:::::::[[:[[[[[[[:[[::[:[[:[~"
4195 /(?1){3918}(((((0(\k'R'))))(?J)(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