in reply to Simple pattern match failing - Possibly unicode issue

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.