Kevin Plyler wrote:
> "Can't find unicode character property definition via
> main->AAA0001 or AAA0001.pl at unicode/Is/AAA0001.pl line 0"
>
> What I don't understand is why the run time error for the
> '\p'? '\p' is not a regular expression
> meta character, so it should have just looked for a 'p'?
This looks as if you are using Perl 5.6, for which \p *is* special in
regular expression -- it's used to match Unicode properties such as 'Lu'
(letter, uppercase).
Read perlunicode.pod and the new perlre.pod for more information.
>From perlre:
In addition, Perl defines the following:
\w Match a "word" character (alphanumeric plus "_")
\W Match a non-word character
\s Match a whitespace character
\S Match a non-whitespace character
\d Match a digit character
\D Match a non-digit character
\pP Match P, named property. Use \p{Prop} for longer names.
\PP Match non-P
\X Match eXtended Unicode "combining character sequence", \pM\pm*
\C Match a single C char (octet) even under utf8.
Cheers,
Philip
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]