See also the latest XRegExp documentation.
0.6.1 - 2008-08-01
* Enhancement: Tweaked the barebones plugin architecture.
0.6.0 - 2008-07-23
* Enhancement: Added support for the Unicode plugin.
* Fix: When using String.prototype.split, if the last match of the separator within the subject string ended at the end of the string, and the separator was
capable of matching an empty string (e.g. /a?/), a trailing empty string value was not appended to the result array even when the separator did not match an
empty string in that last case. This followed Firefox's native handling, but not the spec (which at least Opera follows correctly).
0.5.2 - 2008-05-14 (created this changelog)
* Fix: XRegExp.matchRecursive could not return more than one match when the sticky (y) and global (g) modifiers were combined without using valueNames.
0.5.1 - 2008-04-21
* Fix: RegExp.prototype.addFlags did not preserve previously applied, non-native modifiers (v0.5.0 only).
0.5.0 - 2008-04-20
* New feature: XRegExp.matchRecursive function.
* New feature: XRegExp.escape function.
* New feature: RegExp.prototype.call/apply methods.
* New feature: Comment pattern syntax: (?# ).
* New feature: Consistent cross-browser, ES3-compliant String.prototype.split method.
* New feature: Automatically fix incorrect RegExp.prototype.exec and String.prototype.match return values for non-participating capturing groups.
* New feature: Automatically fix incorrectly incremented lastIndex properties after zero-length matches.
* Enhancement: Changed named capture syntax from (<name> ) to (?<name> ), which is the standard syntax in .NET, Perl, and PCRE, and under consideration for ES4.
* Enhancement: Named capture is now always available; no more k modifier.
* Enhancement: Support for native, infinitely-nesting character class intersection syntax proposed for ES4.
* Enhancement: Support for native sticky (y) and extended (x) modifiers. Sticky mode will be in JS1.8; both are proposed for ES4.
* Enhancement: Removed XRegExp.overrideNative. The RegExp constructor cannot be overriden in JS1.8 or ES4.
* Enhancement: Changed handling of empty character classes to follow ES3 cross-browser.
* Enhancement: Passing a RegExp object to the XRegExp constructor now returns a new copy, like the native RegExp constructor.
0.2.5 - 2007-12-??
* New feature: XRegExp.cache function.
* Enhancement: Several performance tweaks.
0.2.2 - 2007-07-12
* Fix: Safari 3 is now supported, after working around a WebKit parser bug.
0.2.1 - 2007-07-09
* Fix: XRegExp now works after being loaded twice (but you shouldn't do that).
0.2.0 - 2007-07-08
* New feature: Comprehensive named capture support, activated using the new k modifier.
- Capture: (<name> )
- Backref in regex: \k<name>
- Backref in replacement: ${name}
- Stored at: result.name, or arguments[0].name in replacement functions
* New feature: RegExp.prototype.addFlags method.
* Enhancement: Removed the XRE global object. XRE.overrideNative is now XRegExp.overrideNative.
* Fix: The x modifier now ignores whitespace between a regex token and its quantifier, rather than collapsing it to (?:).
0.1.0 - 2007-05-30
* Initial release.
« XRegExp — © 2007–2008 <stevenlevithan.com>