/[pcre]/code/trunk/doc/pcreapi.3
ViewVC logotype

Diff of /code/trunk/doc/pcreapi.3

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

revision 344 by ph10, Sat Apr 12 15:59:03 2008 UTC revision 345 by ph10, Mon Apr 28 15:10:02 2008 UTC
# Line 551  over the newline. Line 551  over the newline.
551  .sp  .sp
552    PCRE_JAVASCRIPT_COMPAT    PCRE_JAVASCRIPT_COMPAT
553  .sp  .sp
554  If this option is set, PCRE's behaviour is changed in some ways so that it is  If this option is set, PCRE's behaviour is changed in some ways so that it is
555  compatible with JavaScript rather than Perl. The changes are as follows:  compatible with JavaScript rather than Perl. The changes are as follows:
556  .P  .P
557  (1) A lone closing square bracket in a pattern causes a compile-time error,  (1) A lone closing square bracket in a pattern causes a compile-time error,
# Line 559  because this is illegal in JavaScript (b Line 559  because this is illegal in JavaScript (b
559  character). Thus, the pattern AB]CD becomes illegal when this option is set.  character). Thus, the pattern AB]CD becomes illegal when this option is set.
560  .P  .P
561  (2) At run time, a back reference to an unset subpattern group matches an empty  (2) At run time, a back reference to an unset subpattern group matches an empty
562  string (by default this causes the current matching path to fail). A pattern  string (by default this causes the current matching alternative to fail). A
563  such as (\1)(a) succeeds when this option is set (assuming it can find an "a"  pattern such as (\e1)(a) succeeds when this option is set (assuming it can find
564  in the subject), whereas it fails by default, for Perl compatibility.  an "a" in the subject), whereas it fails by default, for Perl compatibility.
565  .sp  .sp
566    PCRE_MULTILINE    PCRE_MULTILINE
567  .sp  .sp
# Line 731  out of use. To avoid confusion, they hav Line 731  out of use. To avoid confusion, they hav
731    54  DEFINE group contains more than one branch    54  DEFINE group contains more than one branch
732    55  repeating a DEFINE group is not allowed    55  repeating a DEFINE group is not allowed
733    56  inconsistent NEWLINE options    56  inconsistent NEWLINE options
734    57  \eg is not followed by a braced, angle-bracketed, or quoted    57  \eg is not followed by a braced, angle-bracketed, or quoted
735          name/number or by a plain number          name/number or by a plain number
736    58  a numbered reference must not be zero    58  a numbered reference must not be zero
737    59  (*VERB) with an argument is not supported    59  (*VERB) with an argument is not supported
738    60  (*VERB) not recognized    60  (*VERB) not recognized

Legend:
Removed from v.344  
changed lines
  Added in v.345

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12