/[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 333 by ph10, Thu Apr 10 19:55:57 2008 UTC revision 336 by ph10, Sat Apr 12 15:59:03 2008 UTC
# Line 9505  No match Line 9505  No match
9505   0: AA   0: AA
9506   1: A   1: A
9507    
9508    /(?=(?<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>\})\}))\{/
9509    
9510    /(?<n>a|b|c)\g<n>*/
9511       abc
9512     0: abc
9513     1: a
9514       accccbbb
9515     0: accccbbb
9516     1: a
9517    
9518    /^(?+1)(?<a>x|y){0}z/
9519        xzxx
9520     0: xz
9521     1: <unset>
9522        yzyy
9523     0: yz
9524     1: <unset>
9525        ** Failers
9526    No match
9527        xxz
9528    No match
9529    
9530    /(\3)(\1)(a)/
9531        cat
9532    No match
9533    
9534    /(\3)(\1)(a)/<JS>
9535        cat
9536     0: a
9537     1:
9538     2:
9539     3: a
9540    
9541    /TA]/
9542        The ACTA] comes
9543     0: TA]
9544    
9545    /TA]/<JS>
9546    Failed: ] is an invalid data character in JavaScript compatibility mode at offset 2
9547    
9548  / End of testinput2 /  / End of testinput2 /

Legend:
Removed from v.333  
changed lines
  Added in v.336

  ViewVC Help
Powered by ViewVC 1.1.5