NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
negating character classes (Score:1)
[^[:alpha:]] <-alpha>
I expected <!alpha> -- is there a difference between <-alpha> and <!alpha>?
Reply to This
Re:negating character classes (Score:1)
I think that <!alpha> can match nothing,
while <-alpha> can match only a non-alpha
character.
So the first can match a zero-length substring
while the second must match a one-character
substring.
-matt
Re:negating character classes (Score:1)
-matt