in reply to ASCII Woe

EBCDIC could have won the character code wars. In which case, a regexp such as /[A-Z]/ would include all sorts of unprintable characters...

emc

" When in doubt, use brute force." — Ken Thompson

Replies are listed 'Best First'.
Re^2: ASCII Woe
by ysth (Canon) on Mar 03, 2006 at 11:40 UTC
    Um, perl runs on several EBCDIC systems. And IIRC /[A-Z]/ is special-cased to only cover the letters.

    If you feel like having your mind blown, take a look at how UTF-EBCDIC works (yes, perl uses it).