Michael G Schwern <[EMAIL PROTECTED]> wrote:

> You actually want [[:print:]].  It's negation is [[:cntrl:]].

[[:cntrl:]] matches only bytes with values of 0 through 31.  
[[:print:]] matches, as you say, 31 to 126.  [[:^print:]], 
which is the negation of [[:print:]] (and can also be written 
as [^[:print:]]) matches 0 through 31 and 126 through 255.
No doubt other differences crop up if you get into using locale 
and utf8.

-- 
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC

Reply via email to