Linus Groh
83c29bd8d7
LibJS: Don't assume match for each capture group in RegExp.prototype.exec()
...
This was not implementing the following part of the spec correctly:
27. For each integer i such that i ≥ 1 and i ≤ n, do
a. Let captureI be ith element of r's captures List.
b. If captureI is undefined, let capturedValue be undefined.
Expecting a capture group match to exist for each of the RegExp's
capture groups would assert in Vector's operator[] if that's not the
case, for example:
/(foo)(bar)?/.exec("foo")
Append undefined instead.
Fixes #5256 .
2021-02-08 18:01:23 +01:00
..
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-02-01 10:34:45 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-24 00:09:18 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-02-07 10:57:07 +01:00
2021-02-07 10:57:07 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-02-05 14:53:16 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-02-04 00:09:04 +01:00
2021-01-12 12:17:46 +01:00
2021-01-28 10:15:24 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-02-05 09:38:45 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-25 09:47:36 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-02-01 10:34:45 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-14 08:13:32 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-02-08 18:01:23 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-14 08:13:32 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-27 07:57:07 +01:00
2021-01-25 23:23:33 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-02-05 09:38:45 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00