mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
When doing successive matches, track the input start and current search start positions separately to prevent the `^` anchor from matching in the middle of the string. Add policy CMP0186 to provide compatibility. Issue: #26629 Fixes: #16899
6 lines
165 B
ReStructuredText
6 lines
165 B
ReStructuredText
regex-fixes
|
|
-----------
|
|
|
|
* Regular expressions match the ``^`` anchor at most once in repeated
|
|
searches, at the start of the input. See policy :policy:`CMP0186`.
|