VSRegularExpression is a JavaScript-compatible (with some limitations and known issues) Regular Expression implementation written in C++ with Objective-C encapsulation similar to NSRegularExpression.
This whole thing is written purely for fun, though you can still use it when the input is not too large and you know what you are doing.
(The RegExp engine written in C++ is named jscre. Though I soon realized that the V8's port of pcre was also named jscre, I'm too lazy to give it another name.)
- Extremely poor performance.
- Always return the longest possible match.
- UTF-16 surrogate pairs are not well-handled.
- Backreference is not supported.
- Non-greedy quantification is not supported.
- Only ASCII characters are considered when using either case insensitive or word boundary.
VSRegularExpression is licensed under MIT License.