No, that isn't enough. Go the other direction, negating the list of things that are what you want:
$str !~ /[^\0-\x7f]/
- tye
In reply to Re: testing if a string is ascii (^)
by tye
in thread testing if a string is ascii
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |