in reply to Re: Fine tuning a reg exp
in thread Fine tuning a reg exp

/^[[:upper:]]+$/
I’ve never understood why people use that instead of the much easier to type, read, and use \p{upper}. Can you tell me why?

Replies are listed 'Best First'.
Re^3: Fine tuning a reg exp
by choroba (Cardinal) on Feb 24, 2012 at 00:11 UTC
    Because the former works in a shell and sed, too?