Files
ladybird/Userland/Libraries/LibJS/Runtime/RegExpObject.h
Ali Mohammad Pur 2b028f6faa LibRegex+LibJS: Avoid searching for more than one match in JS RegExps
All of JS's regular expression APIs only want a single match, so avoid
trying to produce more (which will be discarded anyway).
2022-02-05 00:09:32 +01:00

1.9 KiB