mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
The semantics mimic other languages like Python, Java, JS, etc. To advance past a zero-length match, the search algorithm first tries to find a non-zero alternative branch. If that fails, it force-advances by 1 character. Fixes: #13790, #13792, #18690, #26629
19 KiB
19 KiB