Commit Graph

4 Commits

Author SHA1 Message Date
Nikita Nemkin 5d039f3be3 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
2025-02-13 20:00:02 +05:00
Domen Vrankar 176281e131 CPack test: correctly handle CPACK_PACKAGING_INSTALL_PREFIX
Every CPack generator sets default CPACK_PACKAGING_INSTALL_PREFIX
variable value differently so test framework should support
that correctly - previous version expected RPM/Deb /usr default and
removed it for Archive packagers as the default there is /.
2017-11-19 14:55:00 +01:00
Domen Vrankar 3eb0f08084 Improved CPack tests error logging 2017-05-14 23:45:18 +02:00
Domen Vrankar 5b0a64ebc5 CPack/Archive minimal tests for more formats 2016-12-23 21:01:38 +01:00