Unverified Commit 0804ef2d authored by Sanjay Marreddi's avatar Sanjay Marreddi Committed by GitHub
Browse files

[libc++] Fix `regex_search` to match `$` alone with `match_default` flag (#77256)

Using `regex_search` with the regex_constant `match_default` and a
simple regex pattern `$` is expected to match general strings such as
_"a", "ab", "abc"..._ at `[last, last)` positions. But, the current
implementation fails to do so.

Fixes #75042
parent 6c207ee5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment