Regex teaser

Smylers Smylers at stripey.com
Wed Dec 4 10:54:03 GMT 2013


Matt Lawrence writes:

> It looks like Python has decided that a zero-width match cannot
> immediately follow a non-zero-width match.

Thanks.

That sounds like a special-case exception to me, increasing the
complexity of understanding how patterns match.

But in practice it might be less surprising and more useful than Perl's
behaviour.

Smylers
-- 
The UK gov's proposed gagging law will suppress protest and campaigning by
charities and political groups. Read more: http://civilsocietycommission.info/
Please sign this petition: http://38d.gs/1cJ9ViA
Oxfam • BHA • Quakers * Countryside Alliance • League Against Cruel Sports • CND



More information about the london.pm mailing list