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

Diff of /code/trunk/testdata/testoutput2

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

revision 697 by ph10, Mon Sep 19 12:28:24 2011 UTC revision 744 by zherczeg, Sun Nov 13 16:31:38 2011 UTC
# Line 4430  No first char Line 4430  No first char
4430  Need char = 'z'  Need char = 'z'
4431    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazzbbbbbb\M    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazzbbbbbb\M
4432  Minimum match() limit = 8  Minimum match() limit = 8
4433  Minimum match() recursion limit = 7  Minimum match() recursion limit = 6
4434   0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazz   0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazz
4435   1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa   1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
4436    aaaaaaaaaaaaaz\M    aaaaaaaaaaaaaz\M
4437  Minimum match() limit = 32768  Minimum match() limit = 32768
4438  Minimum match() recursion limit = 43  Minimum match() recursion limit = 42
4439  No match  No match
4440    
4441  /(aaa(?C1)bbb|ab)/I  /(aaa(?C1)bbb|ab)/I
# Line 6666  No first char Line 6666  No first char
6666  No need char  No need char
6667     /* this is a C style comment */\M     /* this is a C style comment */\M
6668  Minimum match() limit = 120  Minimum match() limit = 120
6669  Minimum match() recursion limit = 35  Minimum match() recursion limit = 6
6670   0: /* this is a C style comment */   0: /* this is a C style comment */
6671   1: /* this is a C style comment */   1: /* this is a C style comment */
6672    
# Line 11068  MK: A Line 11068  MK: A
11068      D      D
11069  No match  No match
11070    
11071    /(*MARK:A)(*THEN:B)(C|X)/KSY
11072        C
11073     0: C
11074     1: C
11075    MK: A
11076        D
11077    No match, mark = B
11078    
11079  /(*MARK:A)(*THEN:B)(C|X)/KSS  /(*MARK:A)(*THEN:B)(C|X)/KSS
11080      C      C
11081   0: C   0: C
# Line 11824  No match Line 11832  No match
11832    
11833  /^.*?(?(?=a)a|b(*THEN)c)/  /^.*?(?(?=a)a|b(*THEN)c)/
11834      ba      ba
11835   0: ba  No match
11836    
11837  /^.*?(?(?=a)a|bc)/  /^.*?(?(?=a)a|bc)/
11838      ba      ba
11839   0: ba   0: ba
11840    
11841    /^.*?(?(?=a)a(*THEN)b|c)/
11842        ac
11843    No match
11844    
11845    /^.*?(?(?=a)a(*THEN)b)c/
11846        ac
11847    No match
11848    
11849    /^.*?(a(*THEN)b)c/
11850        aabc
11851    No match
11852    
11853    /^.*? (?1) c (?(DEFINE)(a(*THEN)b))/x
11854        aabc
11855     0: aabc
11856    
11857    /^.*?(a(*THEN)b|z)c/
11858        aabc
11859     0: aabc
11860     1: ab
11861    
11862    /^.*?(z|a(*THEN)b)c/
11863        aabc
11864     0: aabc
11865     1: ab
11866    
11867  /-- --/  /-- --/
11868    
11869  /-- These studied versions are here because they are not Perl-compatible; the  /-- These studied versions are here because they are not Perl-compatible; the
# Line 11928  No set of starting bytes Line 11962  No set of starting bytes
11962  /^(?>a)++/  /^(?>a)++/
11963      aa\M      aa\M
11964  Minimum match() limit = 5  Minimum match() limit = 5
11965  Minimum match() recursion limit = 3  Minimum match() recursion limit = 2
11966   0: aa   0: aa
11967      aaaaaaaaa\M      aaaaaaaaa\M
11968  Minimum match() limit = 12  Minimum match() limit = 12
11969  Minimum match() recursion limit = 3  Minimum match() recursion limit = 2
11970   0: aaaaaaaaa   0: aaaaaaaaa
11971    
11972  /(a)(?1)++/  /(a)(?1)++/
11973      aa\M      aa\M
11974  Minimum match() limit = 7  Minimum match() limit = 7
11975  Minimum match() recursion limit = 5  Minimum match() recursion limit = 4
11976   0: aa   0: aa
11977   1: a   1: a
11978      aaaaaaaaa\M      aaaaaaaaa\M
11979  Minimum match() limit = 21  Minimum match() limit = 21
11980  Minimum match() recursion limit = 5  Minimum match() recursion limit = 4
11981   0: aaaaaaaaa   0: aaaaaaaaa
11982   1: a   1: a
11983    
# Line 12161  Matched, but too many substrings Line 12195  Matched, but too many substrings
12195      abc      abc
12196  Error -26 (nested recursion at the same subject position)  Error -26 (nested recursion at the same subject position)
12197    
12198  /((?(R2)a+|(?1)b))/  /((?(R2)a+|(?1)b))/SS
12199      aaaabcde      aaaabcde
12200  Error -26 (nested recursion at the same subject position)  Error -26 (nested recursion at the same subject position)
12201    
12202  /(?(R)a*(?1)|((?R))b)/  /(?(R)a*(?1)|((?R))b)/SS
12203      aaaabcde      aaaabcde
12204  Error -26 (nested recursion at the same subject position)  Error -26 (nested recursion at the same subject position)
12205    
# Line 12281  No match Line 12315  No match
12315   0:   0:
12316   0+ bb   0+ bb
12317    
12318    /(*ACCEPT)a/+I
12319    Capturing subpattern count = 0
12320    No options
12321    No first char
12322    No need char
12323        bax
12324     0:
12325     0+ bax
12326    
12327    /z(*ACCEPT)a/+I
12328    Capturing subpattern count = 0
12329    No options
12330    First char = 'z'
12331    No need char
12332        baxzbx
12333     0: z
12334     0+ bx
12335    
12336    /a(?:.)*?a/ims
12337        \Mabbbbbbbbbbbbbbbbbbbbba
12338    Minimum match() limit = 65
12339    Minimum match() recursion limit = 2
12340     0: abbbbbbbbbbbbbbbbbbbbba
12341    
12342    /a(?:.(*THEN))*?a/ims
12343        \Mabbbbbbbbbbbbbbbbbbbbba
12344    Minimum match() limit = 86
12345    Minimum match() recursion limit = 45
12346     0: abbbbbbbbbbbbbbbbbbbbba
12347    
12348    /a(?:.(*THEN:ABC))*?a/ims
12349        \Mabbbbbbbbbbbbbbbbbbbbba
12350    Minimum match() limit = 86
12351    Minimum match() recursion limit = 45
12352     0: abbbbbbbbbbbbbbbbbbbbba
12353    
12354    /-- These tests are in agreement with development Perl 5.015, which has fixed
12355        some things, but they don't all work with 5.012, so they aren't in the
12356        Perl-compatible tests. Those after the first come from Perl's own test
12357        files. --/
12358    
12359    /^((yes|no)(*THEN)(*F))?/
12360      yes
12361    No match
12362    
12363    /(A (.*)   C? (*THEN)  | A D) (*FAIL)/x
12364    AbcdCBefgBhiBqz
12365    No match
12366    
12367    /(A (.*)   C? (*THEN)  | A D) z/x
12368    AbcdCBefgBhiBqz
12369    No match
12370    
12371    /(A (.*)   C? (*THEN)  | A D) \s* (*FAIL)/x
12372    AbcdCBefgBhiBqz
12373    No match
12374    
12375    /(A (.*)   C? (*THEN)  | A D) \s* z/x
12376    AbcdCBefgBhiBqz
12377    No match
12378    
12379    /(A (.*)   (?:C|) (*THEN)  | A D) (*FAIL)/x
12380    AbcdCBefgBhiBqz
12381    No match
12382    
12383    /(A (.*)   (?:C|) (*THEN)  | A D) z/x
12384    AbcdCBefgBhiBqz
12385    No match
12386    
12387    /(A (.*)   C{0,6} (*THEN)  | A D) (*FAIL)/x
12388    AbcdCBefgBhiBqz
12389    No match
12390    
12391    /(A (.*)   C{0,6} (*THEN)  | A D) z/x
12392    AbcdCBefgBhiBqz
12393    No match
12394    
12395    /(A (.*)   (CE){0,6} (*THEN)  | A D) (*FAIL)/x
12396    AbcdCEBefgBhiBqz
12397    No match
12398    
12399    /(A (.*)   (CE){0,6} (*THEN)  | A D) z/x
12400    AbcdCEBefgBhiBqz
12401    No match
12402    
12403    /(A (.*)   (CE*){0,6} (*THEN)  | A D) (*FAIL)/x
12404    AbcdCBefgBhiBqz
12405    No match
12406    
12407    /(A (.*)   (CE*){0,6} (*THEN)  | A D) z/x
12408    AbcdCBefgBhiBqz
12409    No match
12410    
12411    /-----------------------------------------------/
12412    
12413    /^(?>a+)(?>(z+))\w/BZ
12414    ------------------------------------------------------------------
12415            Bra
12416            ^
12417            Once_NC
12418            a+
12419            Ket
12420            Once
12421            CBra 1
12422            z+
12423            Ket
12424            Ket
12425            \w
12426            Ket
12427            End
12428    ------------------------------------------------------------------
12429        aaaazzzzb
12430     0: aaaazzzzb
12431     1: zzzz
12432        ** Failers
12433    No match
12434        aazz
12435    No match
12436    
12437    /(.)(\1|a(?2))/
12438        bab
12439     0: bab
12440     1: b
12441     2: ab
12442    
12443    /\1|(.)(?R)\1/
12444        cbbbc
12445     0: cbbbc
12446     1: c
12447    
12448    /(.)((?(1)c|a)|a(?2))/
12449        baa
12450    No match
12451    
12452    /(?P<abn>(?P=abn)xxx)/BZ
12453    ------------------------------------------------------------------
12454            Bra
12455            Once
12456            CBra 1
12457            \1
12458            xxx
12459            Ket
12460            Ket
12461            Ket
12462            End
12463    ------------------------------------------------------------------
12464    
12465    /(a\1z)/BZ
12466    ------------------------------------------------------------------
12467            Bra
12468            Once
12469            CBra 1
12470            a
12471            \1
12472            z
12473            Ket
12474            Ket
12475            Ket
12476            End
12477    ------------------------------------------------------------------
12478    
12479    /^(?>a+)(?>b+)(?>c+)(?>d+)(?>e+)/
12480         \Maabbccddee
12481    Minimum match() limit = 12
12482    Minimum match() recursion limit = 3
12483     0: aabbccddee
12484    
12485    /^(?>(a+))(?>(b+))(?>(c+))(?>(d+))(?>(e+))/
12486         \Maabbccddee
12487    Minimum match() limit = 22
12488    Minimum match() recursion limit = 21
12489     0: aabbccddee
12490     1: aa
12491     2: bb
12492     3: cc
12493     4: dd
12494     5: ee
12495    
12496    /^(?>(a+))(?>b+)(?>(c+))(?>d+)(?>(e+))/
12497         \Maabbccddee
12498    Minimum match() limit = 18
12499    Minimum match() recursion limit = 13
12500     0: aabbccddee
12501     1: aa
12502     2: cc
12503     3: ee
12504    
12505    /^a\x41z/<JS>
12506        aAz
12507     0: aAz
12508        *** Failers
12509    No match
12510        ax41z
12511    No match
12512    
12513    /^a[m\x41]z/<JS>
12514        aAz
12515     0: aAz
12516    
12517    /^a\x1z/<JS>
12518        ax1z
12519     0: ax1z
12520    
12521    /^a\X41z/<JS>
12522        aX41z
12523     0: aX41z
12524        *** Failers
12525    No match
12526        aAz
12527    No match
12528    
12529    /^a\u0041z/<JS>
12530        aAz
12531     0: aAz
12532        *** Failers
12533    No match
12534        au0041z
12535    No match
12536    
12537    /^a[m\u0041]z/<JS>
12538        aAz
12539     0: aAz
12540    
12541    /^a\u041z/<JS>
12542        au041z
12543     0: au041z
12544        *** Failers
12545    No match
12546        aAz
12547    No match
12548    
12549    /^a\U0041z/<JS>
12550        aU0041z
12551     0: aU0041z
12552        *** Failers
12553    No match
12554        aAz
12555    No match
12556    
12557  /-- End of testinput2 --/  /-- End of testinput2 --/

Legend:
Removed from v.697  
changed lines
  Added in v.744

  ViewVC Help
Powered by ViewVC 1.1.5