version 1.1.1.4, 2013/07/22 08:25:57
|
version 1.1.1.5, 2014/06/15 19:46:05
|
Line 138 an error is given at compile time.
|
Line 138 an error is given at compile time.
|
<P> |
<P> |
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, |
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, |
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 |
PCRE_EXTENDED option is set. | deprecated) but PCRE never does, even if the PCRE_EXTENDED option is set. |
</P> |
</P> |
<P> |
<P> |
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 |
| [A-\d] or [a-[:digit:]]. It then treats the hyphens as literals. PCRE has no |
| warning features, so it gives an error in these cases because they are almost |
| certainly user mistakes. |
| </P> |
| <P> |
| 17. In PCRE, the upper/lower case character properties Lu and Ll are not |
affected when case-independent matching is specified. For example, \p{Lu} |
affected when case-independent matching is specified. For example, \p{Lu} |
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; |
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 |
letters, regardless of case, when case independence is specified. |
letters, regardless of case, when case independence is specified. |
</P> |
</P> |
<P> |
<P> |
17. PCRE provides some extensions to the Perl regular expression facilities. | 18. PCRE provides some extensions to the Perl regular expression facilities. |
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 |
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 |
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.
|
REVISION |
REVISION |
</b><br> |
</b><br> |
<P> |
<P> |
Last updated: 19 March 2013 | Last updated: 10 November 2013 |
<br> |
<br> |
Copyright © 1997-2013 University of Cambridge. |
Copyright © 1997-2013 University of Cambridge. |
<br> |
<br> |