in reply to Re: Why does \w include numbers and underscore?
in thread Why does \w include numbers and underscore?

Perl has supported [^\W\d] forever. One of my favorites is [^\S\n] (any whitespace character but newline).

(update) I wasn't trying to argue against nor diminish your proposed patch. I just wanted to mention this solution to this problem which didn't appear to be covered in the thread yet.

- tye        

Replies are listed 'Best First'.
Re: Re^2: Why does \w include numbers and underscore?
by japhy (Canon) on Apr 22, 2004 at 03:01 UTC
    Yeah, but those are simple cases. I'm looking for scalability.
    _____________________________________________________
    Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a job (NYC-area)
    s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;