- PCRE version 3.9 02-Jan-2002
- /-- Because of problems with Perl 5.6 in handling UTF-8 vs non UTF-8 --/
- /-- strings automatically, do not use the x{} construct except with --/
- No match
- /-- patterns that have the /8 option set, and don't use them without! --/
- No match
- /a.b/8
- acb
- 0: acb
- ax7fb
- 0: ax{7f}b
- ax{100}b
- 0: ax{100}b
- *** Failers
- No match
- anb
- No match
- /a(.{3})b/8
- ax{4000}xyb
- 0: ax{4000}xyb
- 1: x{4000}xy
- ax{4000}x7fyb
- 0: ax{4000}x{7f}yb
- 1: x{4000}x{7f}y
- ax{4000}x{100}yb
- 0: ax{4000}x{100}yb
- 1: x{4000}x{100}y
- *** Failers
- No match
- ax{4000}b
- No match
- acncb
- No match
- /a(.*?)(.)/
- axc0x88b
- 0: axc0
- 1:
- 2: xc0
- /a(.*?)(.)/8
- ax{100}b
- 0: ax{100}
- 1:
- 2: x{100}
- /a(.*)(.)/
- axc0x88b
- 0: axc0x88b
- 1: xc0x88
- 2: b
- /a(.*)(.)/8
- ax{100}b
- 0: ax{100}b
- 1: x{100}
- 2: b
- /a(.)(.)/
- axc0x92bcd
- 0: axc0x92
- 1: xc0
- 2: x92
- /a(.)(.)/8
- ax{240}bcd
- 0: ax{240}b
- 1: x{240}
- 2: b
- /a(.?)(.)/
- axc0x92bcd
- 0: axc0x92
- 1: xc0
- 2: x92
- /a(.?)(.)/8
- ax{240}bcd
- 0: ax{240}b
- 1: x{240}
- 2: b
- /a(.??)(.)/
- axc0x92bcd
- 0: axc0
- 1:
- 2: xc0
- /a(.??)(.)/8
- ax{240}bcd
- 0: ax{240}
- 1:
- 2: x{240}
- /a(.{3})b/8
- ax{1234}xyb
- 0: ax{1234}xyb
- 1: x{1234}xy
- ax{1234}x{4321}yb
- 0: ax{1234}x{4321}yb
- 1: x{1234}x{4321}y
- ax{1234}x{4321}x{3412}b
- 0: ax{1234}x{4321}x{3412}b
- 1: x{1234}x{4321}x{3412}
- *** Failers
- No match
- ax{1234}b
- No match
- acncb
- No match
- /a(.{3,})b/8
- ax{1234}xyb
- 0: ax{1234}xyb
- 1: x{1234}xy
- ax{1234}x{4321}yb
- 0: ax{1234}x{4321}yb
- 1: x{1234}x{4321}y
- ax{1234}x{4321}x{3412}b
- 0: ax{1234}x{4321}x{3412}b
- 1: x{1234}x{4321}x{3412}
- axxxxbcdefghijb
- 0: axxxxbcdefghijb
- 1: xxxxbcdefghij
- ax{1234}x{4321}x{3412}x{3421}b
- 0: ax{1234}x{4321}x{3412}x{3421}b
- 1: x{1234}x{4321}x{3412}x{3421}
- *** Failers
- No match
- ax{1234}b
- No match
- /a(.{3,}?)b/8
- ax{1234}xyb
- 0: ax{1234}xyb
- 1: x{1234}xy
- ax{1234}x{4321}yb
- 0: ax{1234}x{4321}yb
- 1: x{1234}x{4321}y
- ax{1234}x{4321}x{3412}b
- 0: ax{1234}x{4321}x{3412}b
- 1: x{1234}x{4321}x{3412}
- axxxxbcdefghijb
- 0: axxxxb
- 1: xxxx
- ax{1234}x{4321}x{3412}x{3421}b
- 0: ax{1234}x{4321}x{3412}x{3421}b
- 1: x{1234}x{4321}x{3412}x{3421}
- *** Failers
- No match
- ax{1234}b
- No match
- /a(.{3,5})b/8
- ax{1234}xyb
- 0: ax{1234}xyb
- 1: x{1234}xy
- ax{1234}x{4321}yb
- 0: ax{1234}x{4321}yb
- 1: x{1234}x{4321}y
- ax{1234}x{4321}x{3412}b
- 0: ax{1234}x{4321}x{3412}b
- 1: x{1234}x{4321}x{3412}
- axxxxbcdefghijb
- 0: axxxxb
- 1: xxxx
- ax{1234}x{4321}x{3412}x{3421}b
- 0: ax{1234}x{4321}x{3412}x{3421}b
- 1: x{1234}x{4321}x{3412}x{3421}
- axbxxbcdefghijb
- 0: axbxxb
- 1: xbxx
- axxxxxbcdefghijb
- 0: axxxxxb
- 1: xxxxx
- *** Failers
- No match
- ax{1234}b
- No match
- axxxxxxbcdefghijb
- No match
- /a(.{3,5}?)b/8
- ax{1234}xyb
- 0: ax{1234}xyb
- 1: x{1234}xy
- ax{1234}x{4321}yb
- 0: ax{1234}x{4321}yb
- 1: x{1234}x{4321}y
- ax{1234}x{4321}x{3412}b
- 0: ax{1234}x{4321}x{3412}b
- 1: x{1234}x{4321}x{3412}
- axxxxbcdefghijb
- 0: axxxxb
- 1: xxxx
- ax{1234}x{4321}x{3412}x{3421}b
- 0: ax{1234}x{4321}x{3412}x{3421}b
- 1: x{1234}x{4321}x{3412}x{3421}
- axbxxbcdefghijb
- 0: axbxxb
- 1: xbxx
- axxxxxbcdefghijb
- 0: axxxxxb
- 1: xxxxx
- *** Failers
- No match
- ax{1234}b
- No match
- axxxxxxbcdefghijb
- No match
- /^[ax{c0}]/8
- *** Failers
- No match
- x{100}
- No match
- /(?<=aXb)cd/8
- aXbcd
- 0: cd
- /(?<=ax{100}b)cd/8
- ax{100}bcd
- 0: cd
- /(?<=ax{100000}b)cd/8
- ax{100000}bcd
- 0: cd
- /(?:x{100}){3}b/8
- x{100}x{100}x{100}b
- 0: x{100}x{100}x{100}b
- *** Failers
- No match
- x{100}x{100}b
- No match
- / End of testinput5 /