According to perlre:
The following equivalences to Unicode \p{} constructs and equivalent backslash character classes (if available), will hold:
[snip]
digit IsDigit \d
However, according to Larry, they are not equivalent. Is the Perl documentation incorrect? What does this mean? Should constructs like \s also be coverted to [[:space:]] or am I totally misunderstanding this?
Cheers,
Ovid
New address of my CGI Course.
In reply to POSIX character classes in regular expressions by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |