Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
What is the correct idiom for a character class containing all chars except whitespace and the letter A? The obvious
[^A\S]
doesn't work, for reasons I don't entirely understand.
I can think of workarounds on my own, but I'd like to know the Right Way to do this. Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mixing builtin char-classes and negation
by broquaint (Abbot) on Jun 16, 2003 at 19:09 UTC | |
|
Re: Mixing builtin char-classes and negation
by sauoq (Abbot) on Jun 16, 2003 at 20:52 UTC | |
|
Re: Mixing builtin char-classes and negation
by halley (Prior) on Jun 16, 2003 at 19:10 UTC | |
|
Re: Mixing builtin char-classes and negation
by traveler (Parson) on Jun 16, 2003 at 20:52 UTC | |
by sauoq (Abbot) on Jun 16, 2003 at 21:11 UTC | |
by traveler (Parson) on Jun 16, 2003 at 21:22 UTC |