Your whitespace is optional:\s*. If there always is (at least) one blank, you might want to use \s+ for one or more or \s for exactly one space. Also, while debugging, you might want to print out the whole string you match against.
In reply to Re: Simple pattern match failing - Possibly unicode issue
by Corion
in thread Simple pattern match failing - Possibly unicode issue
by irahul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |