commit | 5d039f3be3a0fdfd155be6885c099f40df9ef677 | [log] [tgz] |
---|---|---|
author | Nikita Nemkin <nikita@nemkin.ru> | Sun Jan 26 21:55:08 2025 +0500 |
committer | Nikita Nemkin <nikita@nemkin.ru> | Thu Feb 13 20:00:02 2025 +0500 |
tree | fd094873b47eb30c74b446ea01c249246f5eddaa | |
parent | 90625865e1a8e6df45c0b319b267701831beb992 [diff] |
regex: Match ^ at most once in repeated searches 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