tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: regexp word boundaries

On Mon, Dec 03, 2012 at 12:16:57AM +0100, Alistair Crooks wrote:
> It's long been a pet peeve of mine that regexp matching for word
> boundaries has an annoying dependency on the implementation.

It is just one of many regexp inconsistencies, isn't it?  Sometimes
a backslash-escape is required, sometimes one is not required, for
important characters like +, |, and (). And backslashes themselves may
require backslash-escaping.


David Young    Urbana, IL    (217) 721-9981

Home | Main Index | Thread Index | Old Index