On 2018-04-20 (05:07 MDT), Wietse Venema <wie...@porcupine.org> wrote:
> 
> Also, be aware that many examples 'on the web' use PCRE which
> is subtly different from regexp.

The biggest issue between regex (POSIX) and PCRE is that POSIX regex is greedy. 
that is, it matches the longest possible left, while PCRE matches the shortest 
possible left.

The O'Reilly Media book on regex covers this in great detail

<http://shop.oreilly.com/product/9780596528126.do>

-- 
It was intended that when Newspeak had been adopted once and for all and
Oldspeak forgotten, a heretical thought...should be literally
unthinkable, at least so far as thought is dependent on words.

Reply via email to