archives

« Bugzilla Issues Index

#3501 — 21.2.5.11: "size" not defined


In 21.2.5.11 "RegExp.prototype [ @@split ] ( string, limit )",
step 21.e.i.2 and 21.f.iii.1.b both say:
If first ≥ 0xD800 and first ≤ 0xDBFF and q+1 ≠ size, then
but /size/ is not defined.


And in the same algorithm, step 21.f.iv.12.b says
ReturnIfAbrupt(next).
but /next/ is not defined.

Change /next/ to /nextCapture/?


fixed in rev31 editor's draft

rename s to size


In Rev31