Your regular expression deserves a '/' at the end of it. Aside from that I don't see anything that wouldn't be compatible with v5.8.x. \s and \S have been around for a long time. Is this really pasted from your real code? Please paste from your real code.
Dave
In reply to Re^5: String Matching
by davido
in thread String Matching
by stevbutt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |