/[pcre]/code/trunk/testdata/testinput2
ViewVC logotype

Diff of /code/trunk/testdata/testinput2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 160 by ph10, Tue Apr 24 13:36:11 2007 UTC revision 161 by ph10, Thu May 3 10:28:07 2007 UTC
# Line 236  Line 236 
236    
237  /((?i)blah)\s+\1/I  /((?i)blah)\s+\1/I
238    
239  /((?i)b)/IDS  /((?i)b)/IDZS
240    
241  /(a*b|(?i:c*(?-i)d))/IS  /(a*b|(?i:c*(?-i)d))/IS
242    
# Line 442  Line 442 
442  )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+  )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+
443  )?)?)?)?)?)?)?)?)?otherword/IM  )?)?)?)?)?)?)?)?)?otherword/IM
444    
445  /.*X/ID  /.*X/IDZ
446    
447  /.*X/IDs  /.*X/IDZs
448    
449  /(.*X|^B)/ID  /(.*X|^B)/IDZ
450    
451  /(.*X|^B)/IDs  /(.*X|^B)/IDZs
452    
453  /(?s)(.*X|^B)/ID  /(?s)(.*X|^B)/IDZ
454    
455  /(?s:.*X|^B)/ID  /(?s:.*X|^B)/IDZ
456    
457  /\Biss\B/I+  /\Biss\B/I+
458      Mississippi      Mississippi
# Line 666  Line 666 
666      (ab(cd)ef)      (ab(cd)ef)
667      (ab(cd(ef)gh)ij)      (ab(cd(ef)gh)ij)
668    
669  /^[[:alnum:]]/D  /^[[:alnum:]]/DZ
670    
671  /^[[:^alnum:]]/D  /^[[:^alnum:]]/DZ
672    
673  /^[[:alpha:]]/D  /^[[:alpha:]]/DZ
674    
675  /^[[:^alpha:]]/D  /^[[:^alpha:]]/DZ
676    
677  /[_[:alpha:]]/IS  /[_[:alpha:]]/IS
678    
679  /^[[:ascii:]]/D  /^[[:ascii:]]/DZ
680    
681  /^[[:^ascii:]]/D  /^[[:^ascii:]]/DZ
682    
683  /^[[:blank:]]/D  /^[[:blank:]]/DZ
684    
685  /^[[:^blank:]]/D  /^[[:^blank:]]/DZ
686    
687  /[\n\x0b\x0c\x0d[:blank:]]/IS  /[\n\x0b\x0c\x0d[:blank:]]/IS
688    
689  /^[[:cntrl:]]/D  /^[[:cntrl:]]/DZ
690    
691  /^[[:digit:]]/D  /^[[:digit:]]/DZ
692    
693  /^[[:graph:]]/D  /^[[:graph:]]/DZ
694    
695  /^[[:lower:]]/D  /^[[:lower:]]/DZ
696    
697  /^[[:print:]]/D  /^[[:print:]]/DZ
698    
699  /^[[:punct:]]/D  /^[[:punct:]]/DZ
700    
701  /^[[:space:]]/D  /^[[:space:]]/DZ
702    
703  /^[[:upper:]]/D  /^[[:upper:]]/DZ
704    
705  /^[[:xdigit:]]/D  /^[[:xdigit:]]/DZ
706    
707  /^[[:word:]]/D  /^[[:word:]]/DZ
708    
709  /^[[:^cntrl:]]/D  /^[[:^cntrl:]]/DZ
710    
711  /^[12[:^digit:]]/D  /^[12[:^digit:]]/DZ
712    
713  /^[[:^blank:]]/D  /^[[:^blank:]]/DZ
714    
715  /[01[:alpha:]%]/D  /[01[:alpha:]%]/DZ
716    
717  /[[.ch.]]/I  /[[.ch.]]/I
718    
# Line 796  Line 796 
796    
797  /--------------------------------------------------------------------/I  /--------------------------------------------------------------------/I
798    
799  /#/IxMD  /#/IxMDZ
800    
801  /a#/IxMD  /a#/IxMDZ
802    
803  /[\s]/D  /[\s]/DZ
804    
805  /[\S]/D  /[\S]/DZ
806    
807  /a(?i)b/D  /a(?i)b/DZ
808      ab      ab
809      aB      aB
810      *** Failers      *** Failers
811      AB      AB
812    
813  /(a(?i)b)/D  /(a(?i)b)/DZ
814      ab      ab
815      aB      aB
816      *** Failers      *** Failers
817      AB      AB
818    
819  /   (?i)abc/IxD  /   (?i)abc/IxDZ
820    
821  /#this is a comment  /#this is a comment
822    (?i)abc/IxD    (?i)abc/IxDZ
823    
824  /123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/D  /123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ
825    
826  /\Q123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/D  /\Q123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ
827    
828  /\Q\E/D  /\Q\E/DZ
829      \      \
830    
831  /\Q\Ex/D  /\Q\Ex/DZ
832    
833  / \Q\E/D  / \Q\E/DZ
834    
835  /a\Q\E/D  /a\Q\E/DZ
836    abc    abc
837    bca    bca
838    bac    bac
839    
840  /a\Q\Eb/D  /a\Q\Eb/DZ
841    abc    abc
842    
843  /\Q\Eabc/D  /\Q\Eabc/DZ
844    
845  /x*+\w/D  /x*+\w/DZ
846      *** Failers      *** Failers
847      xxxxx      xxxxx
848    
849  /x?+/D  /x?+/DZ
850    
851  /x++/D  /x++/DZ
852    
853  /x{1,3}+/D  /x{1,3}+/DZ
854    
855  /(x)*+/D  /(x)*+/DZ
856    
857  /^(\w++|\s++)*$/I  /^(\w++|\s++)*$/I
858      now is the time for all good men to come to the aid of the party      now is the time for all good men to come to the aid of the party
# Line 882  Line 882 
882      *** Failers      *** Failers
883      ((()aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa      ((()aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
884    
885  /(abc){1,3}+/D  /(abc){1,3}+/DZ
886    
887  /a+?+/I  /a+?+/I
888    
# Line 892  Line 892 
892    
893  /a{2,3}?+b/IU  /a{2,3}?+b/IU
894    
895  /x(?U)a++b/D  /x(?U)a++b/DZ
896      xaaaab      xaaaab
897    
898  /(?U)xa++b/D  /(?U)xa++b/DZ
899      xaaaab      xaaaab
900    
901  /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/D  /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/DZ
902    
903  /^x(?U)a+b/D  /^x(?U)a+b/DZ
904    
905  /^x(?U)(a+)b/D  /^x(?U)(a+)b/DZ
906    
907  /[.x.]/I  /[.x.]/I
908    
# Line 926  Line 926 
926    
927  /[[:space:]/I  /[[:space:]/I
928    
929  /[\s]/IDM  /[\s]/IDZM
930    
931  /[[:space:]]/IDM  /[[:space:]]/IDZM
932    
933  /[[:space:]abcde]/IDM  /[[:space:]abcde]/IDZM
934    
935  /< (?: (?(R) \d++  | [^<>]*+) | (?R)) * >/Ix  /< (?: (?(R) \d++  | [^<>]*+) | (?R)) * >/Ix
936      <>      <>
# Line 942  Line 942 
942      *** Failers      *** Failers
943      <abc      <abc
944    
945  |8J\$WE\<\.rX\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.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x\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDM  |\$\<\.X\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDZM
948    
949  /(.*)\d+\1/I  /(.*)\d+\1/I
950    
# Line 1120  Line 1120 
1120     >abc>1(2)3<xyz<     >abc>1(2)3<xyz<
1121     >abc>(1(2)3)<xyz<     >abc>(1(2)3)<xyz<
1122    
1123  /(a(?1)b)/D  /(a(?1)b)/DZ
1124    
1125  /(a(?1)+b)/D  /(a(?1)+b)/DZ
1126    
1127  /^\W*(?:((.)\W*(?1)\W*\2|)|((.)\W*(?3)\W*\4|\W*.\W*))\W*$/Ii  /^\W*(?:((.)\W*(?1)\W*\2|)|((.)\W*(?3)\W*\4|\W*.\W*))\W*$/Ii
1128      1221      1221
# Line 1173  Line 1173 
1173      a=b      a=b
1174      a=bc      a=bc
1175    
1176  /a(?P<name1>b|c)d(?P<longername2>e)/D  /a(?P<name1>b|c)d(?P<longername2>e)/DZ
1177      abde      abde
1178      acde      acde
1179    
1180  /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/D  /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/DZ
1181    
1182  /(?P<a>a)...(?P=a)bbb(?P>a)d/D  /(?P<a>a)...(?P=a)bbb(?P>a)d/DZ
1183    
1184  /^\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  /^\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
1185      1221      1221
# Line 1215  Line 1215 
1215    
1216  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\32/Is  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\32/Is
1217    
1218  /(a)(bc)/IND  /(a)(bc)/INDZ
1219    abc    abc
1220    
1221  /(?P<one>a)(bc)/IND  /(?P<one>a)(bc)/INDZ
1222    abc    abc
1223    
1224  /(a)(?P<named>bc)/IND  /(a)(?P<named>bc)/INDZ
1225    
1226  /(a+)*zz/I  /(a+)*zz/I
1227    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazzbbbbbb\M    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazzbbbbbb\M
# Line 1239  Line 1239 
1239      abcdefgh\Cone\Ctwo      abcdefgh\Cone\Ctwo
1240      abcdefgh\Cthree      abcdefgh\Cthree
1241    
1242  /(?P<Tes>)(?P<Test>)/D  /(?P<Tes>)(?P<Test>)/DZ
1243    
1244  /(?P<Test>)(?P<Tes>)/D  /(?P<Test>)(?P<Tes>)/DZ
1245    
1246  /(?P<Z>zz)(?P<A>aa)/I  /(?P<Z>zz)(?P<A>aa)/I
1247      zzaa\CZ      zzaa\CZ
# Line 1260  Line 1260 
1260      [10,20,30,5,5,4,4,2,43,23,4234]      [10,20,30,5,5,4,4,2,43,23,4234]
1261      []      []
1262    
1263  /(a(b(?2)c))?/D  /(a(b(?2)c))?/DZ
1264    
1265  /(a(b(?2)c))*/D  /(a(b(?2)c))*/DZ
1266    
1267  /(a(b(?2)c)){0,2}/D  /(a(b(?2)c)){0,2}/DZ
1268    
1269  /[ab]{1}+/D  /[ab]{1}+/DZ
1270    
1271  /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/Ii  /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/Ii
1272       Baby Bjorn Active Carrier - With free SHIPPING!!       Baby Bjorn Active Carrier - With free SHIPPING!!
# Line 1274  Line 1274 
1274  /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/IiS  /((w\/|-|with)*(free|immediate)*.*?shipping\s*[!.-]*)/IiS
1275       Baby Bjorn Active Carrier - With free SHIPPING!!       Baby Bjorn Active Carrier - With free SHIPPING!!
1276    
1277  /a*.*b/ISD  /a*.*b/ISDZ
1278    
1279  /(a|b)*.?c/ISD  /(a|b)*.?c/ISDZ
1280    
1281  /abc(?C255)de(?C)f/D  /abc(?C255)de(?C)f/DZ
1282    
1283  /abcde/ICD  /abcde/ICDZ
1284    abcde    abcde
1285    abcdfe    abcdfe
1286    
1287  /a*b/ICD  /a*b/ICDZ
1288    ab    ab
1289    aaaab    aaaab
1290    aaaacb    aaaacb
1291    
1292  /a+b/ICD  /a+b/ICDZ
1293    ab    ab
1294    aaaab    aaaab
1295    aaaacb    aaaacb
1296    
1297  /(abc|def)x/ICD  /(abc|def)x/ICDZ
1298    abcx    abcx
1299    defx    defx
1300    abcdefzx    abcdefzx
# Line 1304  Line 1304 
1304    abcdabcd    abcdabcd
1305    abcdcdcdcdcd    abcdcdcdcdcd
1306    
1307  /([ab]{,4}c|xy)/ICD  /([ab]{,4}c|xy)/ICDZ
1308      Note: that { does NOT introduce a quantifier      Note: that { does NOT introduce a quantifier
1309    
1310  /([ab]{1,4}c|xy){4,5}?123/ICD  /([ab]{1,4}c|xy){4,5}?123/ICDZ
1311      aacaacaacaacaac123      aacaacaacaacaac123
1312    
1313  /\b.*/I  /\b.*/I
# Line 1667  a random value. /Ix Line 1667  a random value. /Ix
1667    
1668  /(d?|c)[ab]xyz/IS  /(d?|c)[ab]xyz/IS
1669    
1670  /^a*b\d/D  /^a*b\d/DZ
1671    
1672  /^a*+b\d/D  /^a*+b\d/DZ
1673    
1674  /^a*?b\d/D  /^a*?b\d/DZ
1675    
1676  /^a+A\d/D  /^a+A\d/DZ
1677      aaaA5      aaaA5
1678      ** Failers      ** Failers
1679      aaaa5      aaaa5
1680    
1681  /^a*A\d/IiD  /^a*A\d/IiDZ
1682      aaaA5      aaaA5
1683      aaaa5      aaaa5
1684    

Legend:
Removed from v.160  
changed lines
  Added in v.161

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12