/[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 85 by nigel, Sat Feb 24 21:41:13 2007 UTC revision 87 by nigel, Sat Feb 24 21:41:21 2007 UTC
# Line 1  Line 1 
 PCRE version 6.4 05-Sep-2005  
   
1  /(a)b|/  /(a)b|/
2  Capturing subpattern count = 1  Capturing subpattern count = 1
3  No options  No options
# Line 1945  Options: anchored Line 1943  Options: anchored
1943  No first char  No first char
1944  No need char  No need char
1945    
1946    /[_[:alpha:]]/IS
1947    Capturing subpattern count = 0
1948    No options
1949    No first char
1950    No need char
1951    Starting byte set: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
1952      _ a b c d e f g h i j k l m n o p q r s t u v w x y z
1953    
1954  /^[[:ascii:]]/D  /^[[:ascii:]]/D
1955  ------------------------------------------------------------------  ------------------------------------------------------------------
1956    0  37 Bra 0    0  37 Bra 0
# Line 1984  Options: anchored Line 1990  Options: anchored
1990  No first char  No first char
1991  No need char  No need char
1992    
1993    /^[[:^blank:]]/D
1994    ------------------------------------------------------------------
1995      0  37 Bra 0
1996      3     ^
1997      4     [\x00-\x08\x0a-\x1f!-\xff]
1998     37  37 Ket
1999     40     End
2000    ------------------------------------------------------------------
2001    Capturing subpattern count = 0
2002    Options: anchored
2003    No first char
2004    No need char
2005    
2006    /[\n\x0b\x0c\x0d[:blank:]]/IS
2007    Capturing subpattern count = 0
2008    No options
2009    No first char
2010    No need char
2011    Starting byte set: \x09 \x0a \x0b \x0c \x0d \x20
2012    
2013  /^[[:cntrl:]]/D  /^[[:cntrl:]]/D
2014  ------------------------------------------------------------------  ------------------------------------------------------------------
2015    0  37 Bra 0    0  37 Bra 0
# Line 3995  Need char = '<' Line 4021  Need char = '<'
4021    
4022  /(a(?1)b)/D  /(a(?1)b)/D
4023  ------------------------------------------------------------------  ------------------------------------------------------------------
4024    0  16 Bra 0    0  22 Bra 0
4025    3  10 Bra 1    3  16 Bra 1
4026    6     a    6     a
4027    8   3 Recurse    8   6 Once
4028   11     b   11   3 Recurse
4029   13  10 Ket   14   6 Ket
4030   16  16 Ket   17     b
4031   19     End   19  16 Ket
4032     22  22 Ket
4033     25     End
4034  ------------------------------------------------------------------  ------------------------------------------------------------------
4035  Capturing subpattern count = 1  Capturing subpattern count = 1
4036  No options  No options
# Line 4014  Need char = 'b' Line 4042  Need char = 'b'
4042    0  22 Bra 0    0  22 Bra 0
4043    3  16 Bra 1    3  16 Bra 1
4044    6     a    6     a
4045    8   6 Bra 0    8   6 Once
4046   11   3 Recurse   11   3 Recurse
4047   14   6 KetRmax   14   6 KetRmax
4048   17     b   17     b
# Line 4246  Need char = 'a' Line 4274  Need char = 'a'
4274    
4275  /(?P<a>a)...(?P=a)bbb(?P>a)d/D  /(?P<a>a)...(?P=a)bbb(?P>a)d/D
4276  ------------------------------------------------------------------  ------------------------------------------------------------------
4277    0  28 Bra 0    0  34 Bra 0
4278    3   5 Bra 1    3   5 Bra 1
4279    6     a    6     a
4280    8   5 Ket    8   5 Ket
# Line 4255  Need char = 'a' Line 4283  Need char = 'a'
4283   13     Any   13     Any
4284   14     \1   14     \1
4285   17     bbb   17     bbb
4286   23   3 Recurse   23   6 Once
4287   26     d   26   3 Recurse
4288   28  28 Ket   29   6 Ket
4289   31     End   32     d
4290     34  34 Ket
4291     37     End
4292  ------------------------------------------------------------------  ------------------------------------------------------------------
4293  Capturing subpattern count = 1  Capturing subpattern count = 1
4294  Max back reference = 1  Max back reference = 1
# Line 4418  No need char Line 4448  No need char
4448   24     End   24     End
4449  ------------------------------------------------------------------  ------------------------------------------------------------------
4450  Capturing subpattern count = 0  Capturing subpattern count = 0
4451  Options:  Options: no_auto_capture
4452  First char = 'a'  First char = 'a'
4453  Need char = 'c'  Need char = 'c'
4454    abc    abc
# Line 4439  Need char = 'c' Line 4469  Need char = 'c'
4469  Capturing subpattern count = 1  Capturing subpattern count = 1
4470  Named capturing subpatterns:  Named capturing subpatterns:
4471    one   1    one   1
4472  Options:  Options: no_auto_capture
4473  First char = 'a'  First char = 'a'
4474  Need char = 'c'  Need char = 'c'
4475    abc    abc
# Line 4461  Need char = 'c' Line 4491  Need char = 'c'
4491  Capturing subpattern count = 1  Capturing subpattern count = 1
4492  Named capturing subpatterns:  Named capturing subpatterns:
4493    named   1    named   1
4494  Options:  Options: no_auto_capture
4495  First char = 'a'  First char = 'a'
4496  Need char = 'c'  Need char = 'c'
4497    
# Line 4472  No options Line 4502  No options
4502  No first char  No first char
4503  Need char = 'z'  Need char = 'z'
4504    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazzbbbbbb\M    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazzbbbbbb\M
4505  Minimum match limit = 8  Minimum match() limit = 8
4506    Minimum match() recursion limit = 7
4507   0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazz   0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazz
4508   1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa   1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
4509    aaaaaaaaaaaaaz\M    aaaaaaaaaaaaaz\M
4510  Minimum match limit = 32768  Minimum match() limit = 32768
4511    Minimum match() recursion limit = 43
4512  No match  No match
4513    
4514  /(aaa(?C1)bbb|ab)/  /(aaa(?C1)bbb|ab)/
# Line 4633  Need char = ']' Line 4665  Need char = ']'
4665    
4666  /(a(b(?2)c))?/D  /(a(b(?2)c))?/D
4667  ------------------------------------------------------------------  ------------------------------------------------------------------
4668    0  25 Bra 0    0  31 Bra 0
4669    3     Brazero    3     Brazero
4670    4  18 Bra 1    4  24 Bra 1
4671    7     a    7     a
4672    9  10 Bra 2    9  16 Bra 2
4673   12     b   12     b
4674   14   9 Recurse   14   6 Once
4675   17     c   17   9 Recurse
4676   19  10 Ket   20   6 Ket
4677   22  18 Ket   23     c
4678   25  25 Ket   25  16 Ket
4679   28     End   28  24 Ket
4680     31  31 Ket
4681     34     End
4682  ------------------------------------------------------------------  ------------------------------------------------------------------
4683  Capturing subpattern count = 2  Capturing subpattern count = 2
4684  No options  No options
# Line 4653  No need char Line 4687  No need char
4687    
4688  /(a(b(?2)c))*/D  /(a(b(?2)c))*/D
4689  ------------------------------------------------------------------  ------------------------------------------------------------------
4690    0  25 Bra 0    0  31 Bra 0
4691    3     Brazero    3     Brazero
4692    4  18 Bra 1    4  24 Bra 1
4693    7     a    7     a
4694    9  10 Bra 2    9  16 Bra 2
4695   12     b   12     b
4696   14   9 Recurse   14   6 Once
4697   17     c   17   9 Recurse
4698   19  10 Ket   20   6 Ket
4699   22  18 KetRmax   23     c
4700   25  25 Ket   25  16 Ket
4701   28     End   28  24 KetRmax
4702     31  31 Ket
4703     34     End
4704  ------------------------------------------------------------------  ------------------------------------------------------------------
4705  Capturing subpattern count = 2  Capturing subpattern count = 2
4706  No options  No options
# Line 4673  No need char Line 4709  No need char
4709    
4710  /(a(b(?2)c)){0,2}/D  /(a(b(?2)c)){0,2}/D
4711  ------------------------------------------------------------------  ------------------------------------------------------------------
4712    0  53 Bra 0    0  65 Bra 0
4713    3     Brazero    3     Brazero
4714    4  46 Bra 0    4  58 Bra 0
4715    7  18 Bra 1    7  24 Bra 1
4716   10     a   10     a
4717   12  10 Bra 2   12  16 Bra 2
4718   15     b   15     b
4719   17  12 Recurse   17   6 Once
4720   20     c   20  12 Recurse
4721   22  10 Ket   23   6 Ket
4722   25  18 Ket   26     c
4723   28     Brazero   28  16 Ket
4724   29  18 Bra 1   31  24 Ket
4725   32     a   34     Brazero
4726   34  10 Bra 2   35  24 Bra 1
4727   37     b   38     a
4728   39  12 Recurse   40  16 Bra 2
4729   42     c   43     b
4730   44  10 Ket   45   6 Once
4731   47  18 Ket   48  12 Recurse
4732   50  46 Ket   51   6 Ket
4733   53  53 Ket   54     c
4734   56     End   56  16 Ket
4735     59  24 Ket
4736     62  58 Ket
4737     65  65 Ket
4738     68     End
4739  ------------------------------------------------------------------  ------------------------------------------------------------------
4740  Capturing subpattern count = 2  Capturing subpattern count = 2
4741  No options  No options
# Line 5939  Matched, but too many substrings Line 5979  Matched, but too many substrings
5979  13: a  13: a
5980  14: a  14: a
5981    
5982    /[^()]*(?:\((?R)\)[^()]*)*/
5983    Capturing subpattern count = 0
5984    Partial matching not supported
5985    No options
5986    No first char
5987    No need char
5988        (this(and)that
5989     0:
5990        (this(and)that)
5991     0: (this(and)that)
5992        (this(and)that)stuff
5993     0: (this(and)that)stuff
5994    
5995    /[^()]*(?:\((?>(?R))\)[^()]*)*/
5996    Capturing subpattern count = 0
5997    Partial matching not supported
5998    No options
5999    No first char
6000    No need char
6001        (this(and)that
6002     0:
6003        (this(and)that)
6004     0: (this(and)that)
6005    
6006    /[^()]*(?:\((?R)\))*[^()]*/
6007    Capturing subpattern count = 0
6008    Partial matching not supported
6009    No options
6010    No first char
6011    No need char
6012        (this(and)that
6013     0:
6014        (this(and)that)
6015     0: (this(and)that)
6016    
6017    /(?:\((?R)\))*[^()]*/
6018    Capturing subpattern count = 0
6019    Partial matching not supported
6020    No options
6021    No first char
6022    No need char
6023        (this(and)that
6024     0:
6025        (this(and)that)
6026     0:
6027        ((this))
6028     0: ((this))
6029    
6030    /(?:\((?R)\))|[^()]*/
6031    Capturing subpattern count = 0
6032    Partial matching not supported
6033    No options
6034    No first char
6035    No need char
6036        (this(and)that
6037     0:
6038        (this(and)that)
6039     0:
6040        (this)
6041     0: (this)
6042        ((this))
6043     0: ((this))
6044    
6045    /a(b)c/PN
6046        abc
6047    Matched with REG_NOSUB
6048    
6049    /a(?P<name>b)c/PN
6050        abc
6051    Matched with REG_NOSUB
6052    
6053    /\x{100}/
6054    Failed: character value in \x{...} sequence is too large at offset 6
6055    
6056    /\x{0000ff}/
6057    Capturing subpattern count = 0
6058    No options
6059    First char = 255
6060    No need char
6061    
6062  / End of testinput2 /  / End of testinput2 /
6063  Capturing subpattern count = 0  Capturing subpattern count = 0
6064  No options  No options

Legend:
Removed from v.85  
changed lines
  Added in v.87

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12