do-while grammar

Gavin Barraclough barraclough at apple.com
Wed Feb 9 00:16:36 PST 2011


On Feb 8, 2011, at 3:35 PM, André Bargull wrote:

> new RegExp("(z)((a+)?(b+)?(c))*").exec("zaacbbbcac")
> => Wrong result in Safari/IE
> 
> new RegExp("(.*?)a(?!(a+)b\\2c)
> => Wrong result in Safari/IE

FYI these should be fixed in Safari with a WebKit nightly build.

cheers,
G.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110209/6908560e/attachment.html>


More information about the es-discuss mailing list