summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2021-10-09 17:18:21 +0330
committerAndreas Kling <kling@serenityos.org>2021-10-09 15:57:05 +0200
commitb9ffa0ad2e889ba6c8dff68f31971f66cbfef117 (patch)
tree34585be3f95ecc96114b85e527d1471daa319632 /Userland/Libraries/LibJS
parentec43f7a2b0840a97c6d093066750dd28840d9587 (diff)
downloadserenity-b9ffa0ad2e889ba6c8dff68f31971f66cbfef117.zip
LibRegex: Transform 0,1 min/unbounded max repetitions to * or +
The implementation of transform_bytecode_repetition_min_max expects at least min=1, so let's also optimise on our way out of a bug where 'x{0,}' would cause a crash.
Diffstat (limited to 'Userland/Libraries/LibJS')
0 files changed, 0 insertions, 0 deletions