Fix String.prototype.search lastIndex handling and remove unimplemented regex flags
- search() now saves/restores lastIndex so global/sticky regexps
always search from position 0 per the ES spec
- Remove 'v' (UnicodeSets) and 'd' (HasIndices) from lexer's accepted
regex flags since they're not implemented in the regex engine
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>