Yes, but then you have to replace the '\s' with the equivalent escapes something like tr/\t\r\f\n //d to match all of what \s means. (assuming no locales or unicode)
Fun Fun Fun in the Fluffy Chair
In reply to Re^2: advice on improving performance of this code
by diotalevi
in thread advice on improving performance of this code
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |