Thursday, September 24th, 2015 •
Related •
Filed Under
After 3+ years, XRegExp 3.0.0 has been released. Standout features are dramatically better performance (many common operations are 2x to 50x faster) and support for full 21-bit Unicode (thanks to Mathias Bynens). I’ve also just finished updating all the documentation on xregexp.com so go check that out. 🙂 If you haven’t used XRegExp before, it’s […]
Read More
Sunday, April 15th, 2012 •
Related •
Filed Under
Five years ago I posted Mimicking Lookbehind in JavaScript on this blog, wherein I detailed several ways to emulate positive and negative lookbehind in JavaScript. My approaches back then were all fairly rough, and it was complicated to properly customize any of them to work with a given pattern. Plus, they were only designed to […]
Read More
Wednesday, April 4th, 2012 •
Related •
Filed Under
Recently, I've added three new addons for XRegExp v2.0 (currently in release candidate stage on GitHub): XRegExp.build — Lets you build regexes using named subpatterns. Inspired by Lea Verou's RegExp.create. XRegExp Prototype Methods — Adds a collection of methods to be inherited by XRegExp regexes: apply, call, forEach, globalize, xexec, and xtest. These also work […]
Read More
Saturday, February 25th, 2012 •
Related •
Filed Under
A few days ago, I posted a long-overdue XRegExp bug fix release (version 1.5.1). This was mainly to address an IE issue that a number of people have written to me and blogged about. Specifically, RegExp.prototype.exec no longer throws an error in IE when it is simultaneously provided a nonstring argument and called on a […]
Read More
Monday, July 5th, 2010 •
Related •
Filed Under
Do you regularly post regular expressions online? Have you seen the regex syntax highlighting in RegexPal, RegexBuddy, or on my blog (example), and wanted to apply it to your own websites? Prompted by blog reader Mark McDonnell, I've extracted the regex syntax highlighting engine built into RegexPal and made it into its own library, unimaginatively […]
Read More