mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-25 07:38:33 -05:00
5d039f3be3
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