How can I match a locale-smart version of /[a-zA-Z]/?

/[a-zA-Z]/?

One alphabetic character would be /[^\W\d_]/, no matter what locale you're in. Non-alphabetics would be /[\W\d_]/ (assuming you don't consider an underscore a letter).


Back to perlfaq6