in reply to Re^2: words wich ends with "f"
in thread words wich ends with "f"
Really? Can you give an example?
No, I tried to find one, and failed.
I was referring to this section of perlunicode.
(However, and as a limitation of the current implementation, using "\w" or "\W" inside a "[...]" character class will still match with byte semantics.)
(taken from the perl 5.8.8 perlunicode man page). I tried to find an example for that with this script:
use strict; for (1 .. 1e8){ eval { if ((chr($_) =~ m/\W/) xor (chr($_) =~ m/[^\w]/)){ print "Counter-example with chr($_)\n"; } } }
But it didn't find anything.
Did I misunderstood the docs? Or are the docs wrong/out of date?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: words wich ends with "f"
by ikegami (Patriarch) on Jun 19, 2008 at 21:46 UTC |