Saturday, July 14th, 2007 •
Related •
Filed Under
Cross-browser issues surrounding the handling of regular expression non-participating capturing groups (which I'll call NPCGs) present several challenges. The standard sucks to begin with, and the three biggest browsers (IE, Firefox, Safari) each disrespect the rules in their own unique ways.
First, I should explain what NPCGs are, as it seems that even some experienced regex [...]
Read More
Thursday, July 12th, 2007 •
Related •
Filed Under
When I released XRegExp 0.2 several days ago, I hadn't yet tested in Safari or Swift. When I remembered to do this shortly afterwards, I found that both of those WebKit-based browsers didn't like it and often crashed when trying to use it! This was obviously a Very Bad Thing, but due to major time [...]
Read More
Saturday, June 23rd, 2007 •
Related •
Filed Under
The String.prototype.split method is very handy, so it's a shame that if you use a regular expression as its delimiter, the results can be so wildly different cross-browser that odds are you've just introduced bugs into your code (unless you know precisely what kind of data you're working with and are able to avoid the [...]
Read More