/[pcre]/code/trunk/doc/html/pcrecompat.html
ViewVC logotype

Diff of /code/trunk/doc/html/pcrecompat.html

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

revision 1403 by ph10, Tue May 28 09:13:59 2013 UTC revision 1404 by ph10, Tue Nov 19 15:36:57 2013 UTC
# Line 138  an error is given at compile time. Line 138  an error is given at compile time.
138  <P>  <P>
139  15. Perl recognizes comments in some places that PCRE does not, for example,  15. Perl recognizes comments in some places that PCRE does not, for example,
140  between the ( and ? at the start of a subpattern. If the /x modifier is set,  between the ( and ? at the start of a subpattern. If the /x modifier is set,
141  Perl allows white space between ( and ? but PCRE never does, even if the  Perl allows white space between ( and ? (though current Perls warn that this is
142  PCRE_EXTENDED option is set.  deprecated) but PCRE never does, even if the PCRE_EXTENDED option is set.
143  </P>  </P>
144  <P>  <P>
145  16. In PCRE, the upper/lower case character properties Lu and Ll are not  16. Perl, when in warning mode, gives warnings for character classes such as
146    [A-\d] or [a-[:digit:]]. It then treats the hyphens as literals. PCRE has no
147    warning features, so it gives an error in these cases because they are almost
148    certainly user mistakes.
149    </P>
150    <P>
151    17. In PCRE, the upper/lower case character properties Lu and Ll are not
152  affected when case-independent matching is specified. For example, \p{Lu}  affected when case-independent matching is specified. For example, \p{Lu}
153  always matches an upper case letter. I think Perl has changed in this respect;  always matches an upper case letter. I think Perl has changed in this respect;
154  in the release at the time of writing (5.16), \p{Lu} and \p{Ll} match all  in the release at the time of writing (5.16), \p{Lu} and \p{Ll} match all
155  letters, regardless of case, when case independence is specified.  letters, regardless of case, when case independence is specified.
156  </P>  </P>
157  <P>  <P>
158  17. PCRE provides some extensions to the Perl regular expression facilities.  18. PCRE provides some extensions to the Perl regular expression facilities.
159  Perl 5.10 includes new features that are not in earlier versions of Perl, some  Perl 5.10 includes new features that are not in earlier versions of Perl, some
160  of which (such as named parentheses) have been in PCRE for some time. This list  of which (such as named parentheses) have been in PCRE for some time. This list
161  is with respect to Perl 5.10:  is with respect to Perl 5.10:
# Line 220  Cambridge CB2 3QH, England. Line 226  Cambridge CB2 3QH, England.
226  REVISION  REVISION
227  </b><br>  </b><br>
228  <P>  <P>
229  Last updated: 19 March 2013  Last updated: 10 November 2013
230  <br>  <br>
231  Copyright &copy; 1997-2013 University of Cambridge.  Copyright &copy; 1997-2013 University of Cambridge.
232  <br>  <br>

Legend:
Removed from v.1403  
changed lines
  Added in v.1404

  ViewVC Help
Powered by ViewVC 1.1.5