[all-commits] [llvm/llvm-project] d83a3e: [libc++] Fix std::regex_search to match $ alone wi...
Sanjay Marreddi via All-commits
all-commits at lists.llvm.org
Mon Jan 22 11:15:17 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d83a3ea529575f17ea6ea608a43bca0b3065dcfe
https://github.com/llvm/llvm-project/commit/d83a3ea529575f17ea6ea608a43bca0b3065dcfe
Author: Sanjay Marreddi <sanjay.mareddi at gmail.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
M libcxx/include/regex
M libcxx/test/std/re/re.const/re.matchflag/match_not_eol.pass.cpp
Log Message:
-----------
[libc++] Fix std::regex_search to match $ alone with match_default flag (#78845)
Using std::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
More information about the All-commits
mailing list