On Fri, Sep 6, 2013 at 8:44 AM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
Don't rely on syntax (i.e. things like \b, \>, \<, \s), and instead use
something like "^END\\(?:[^[:alnum:]]\\|\\'\\)".

Thanks. That was very helpful and informative. I will give your suggestion a shot and see how things go.

Cheers,
Jon