Or use the negated POSIX (perlish addition) 'character class' directly: if ($string =~ /[[:^ascii:]]//) {
-- Hofmator
In reply to Re4: How do I determine if a string contains non ascii characters
by Hofmator
in thread How do I determine if a string contains non ascii characters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |