Commit History

Author SHA1 Message Date
  Dmitry Panov d44c223500 Treat invalid groups starting with "(?" as errors (Go regexp is too lenient in this case). Do not pass to regexp2 if TransformRegExp() returns a 'fatal' error. Fixes #216. 5 years ago
  Dmitry Panov f97e50db25 Fixed handling of empty submatches in unicode strings. Fixes #210 5 years ago
  Mihail Stoykov feb2f0b876 Correctly handle -1 submatch indexes from stdlib regexp (#208) 5 years ago
  Dmitry Panov fa030ff283 Do not use utf16Reader for ASCII strings when using Go regexp. See #201 5 years ago
  Dmitry Panov ac41584057 Skip new regexp allocation for standard regexes in split(). See #201 5 years ago
  Dmitry Panov b2a8925997 Cache runes and posMap to optimise consecutive regexp.exec() calls on the same string. See #201 5 years ago
  Dmitry Panov 5574b5dbd2 Optimised global regexp match(). Closes #185. 5 years ago
  Dmitry Panov 379ac97e7e RegExp source escaping should pass escaped characters through. Fixes #184. 5 years ago
  Dmitry Panov 3ec8e20a89 Fixed bugs in Array.prototype.sort(), Object.assign() and Date.prototype.toJSON() 5 years ago
  Dmitry Panov b206dd5e2c Added missing Regexp functionality, enhanced unicode and UTF-16 support (#171) 5 years ago
  Dmitry Panov c99b0db935 Unescape non-ascii characters for re2 (closes #23) 8 years ago
  Dmitry Panov 2acb68835d Use FindAllSubmatchIndexASCII() instead of FindAllSubmatchIndexUTF8() for non-Unicode strings. This improves performance a bit. 8 years ago
  Dmitry Panov 25773609b6 Initial commit 9 years ago