Without anchors that will just ignore the presence of control characters.
And be aware that [:space:] includes chr(11) (vertical tab) & chr(12) (form feed) which most modern "text" programs have no idea what to do with.
In reply to Re^2: How to match "text"?
by BrowserUk
in thread How to match "text"?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |