jscript: Return undefined for empty RegExp captures in ES5+ mode.
commit627e5b3bf1b4236a1eef35eeafb2ef44b7f96dd2
authorGabriel Ivăncescu <gabrielopcode@gmail.com>
Mon, 29 May 2023 18:58:37 +0000 (29 21:58 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 30 May 2023 11:46:18 +0000 (30 13:46 +0200)
tree31b7c62c4c1cd876a0c08138417a7b57d147418e
parentce453e4210821fd998a9cb657561f2ee7c8f1e20
jscript: Return undefined for empty RegExp captures in ES5+ mode.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
dlls/jscript/jsregexp.c
dlls/jscript/tests/regexp.js
dlls/mshtml/tests/es5.js