perl-unicode

Re: \W and [\W]

2004-01-02 12:30:05
Eric Cholet <cholet(_at_)logilune(_dot_)com> writes:
Le 1 janv. 04, à 17:50, Rafael Garcia-Suarez a écrit :

+(However, and as a limitation of the current implementation, using
+C<\w> or C<\W> I<inside> a C<[...]> character class will still match
+with byte semantics.)

I don't think it applies to \w, only \W. \x{df} matches [\w] just fine,
as shown in Andreas' bug report.

Do negated classes work at all ?
What does /[^\w]/ do ?

(I looked at this stuff ages ago and I thought unicode classes (including 
 negated ones worked, if that is true then fix may just be the magical 
 \W expander expanding to wrong thing...)

<Prev in Thread] Current Thread [Next in Thread>