How about using transliteration? Transliteration is marginally quicker than pattern matching.
I think your dogma got hit by some carma. How do you think using tr/// to hit every single character in a string will be faster than m// (without /g) that can immediately stop when it finds the first problem character?
- tye
In reply to Re^2: testing if a string is ascii
by tye
in thread testing if a string is ascii
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |