Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[regexp] Handle empty ranges in unicode sets
If a unicode set operation contains only an empty range, we generated a set expression without operands. However the expression should match nothing, so add the special operand not matching anything instead. Bug: chromium:1437346 Change-Id: I8dd58884aaf6915277c80effbda43ea715049146 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4474547 Commit-Queue: Patrick Thier <pthier@chromium.org> Reviewed-by: Jakob Linke <jgruber@chromium.org> Cr-Commit-Position: refs/heads/main@{#87257}
- Loading branch information