mozilla/shumway — pull request #246 by jeffdyer (2013-04-17 18:14:08+00:00)
Title: Implement RegExp using XRegExp by Steven Levithan

@mbx This implementation of RegExp using XRegExp appears to support at least some of the PCRE extensions. And it will be extensible in ways that the native RegExp object isn't. And it compiles the expression you posted on IRC yesterday:

RegExp("^\\s*(?P-)?((?P\\d+:)?(?P\\d+:))?(?P\\d+(\\.(?P\\d*))?)", "i")

Don't know if it actually works though.

Maybe we should give it a try. What do you think?