Skip to content
Unverified Commit 67f5df78 authored by Sanjay Marreddi's avatar Sanjay Marreddi Committed by GitHub
Browse files

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

The behavior of `std::regex_search` for patterns anchored both to the
start and to the end of the input went wrong after merging #77256 .
Patterns like `"^b*$"` started matching the strings such as `"a"`, which
is not expected.

Reverts the PR: #77256
parent 5e8def2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment