]> git.kaiwu.me - njs.git/commit
Fixed RegExpBuiltinExec() with UTF-8 only regexps.
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 25 Jun 2021 17:00:12 +0000 (17:00 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Fri, 25 Jun 2021 17:00:12 +0000 (17:00 +0000)
commite63843c4b1cd530e73e0ce780e047284f540b4b4
treeab927651dbd3001de4900389acd2a1e06e52aa17
parentdd5d2da6628f1cd3d1e5d7a2dc4199d58e19aaeb
Fixed RegExpBuiltinExec() with UTF-8 only regexps.

The original issue was introduced in f9082cd59ba6 (0.4.2) while adding
RegExpBuiltinExec(), but after de64420d0f2b (0.6.0) it started to affect
RegExp.prototype.test() as it was rewritten according to spec.
src/njs_regexp.c
src/test/njs_unit_test.c