Hi Hadmut,

> what's the best way to check whether a String consists of
> printable characters only?  (In C:  isprint from ctype)
>
> Maybe would be nice to have the ctype classes as patterns
> in the regular expressions.

It's your lucky day:

   "a b c" =~ /\A[[:print:]]*\z/    #=> 0

   "a \0 c" =~ /\A[[:print:]]*\z/   #=> nil

-- 
Daniel Brockman <daniel / brockman.se>

    So really, we all have to ask ourselves:
    Am I waiting for RMS to do this?   --TTN.