RegularExpression: Fix match start/end values of unmatched groups
CMake assumes that Match::start(n) and end(n) return npos for unmatched groups. Make it so and prevent undefined behavior (pointer overflow). Issue: cmake/cmake#16899
parent
98452164
No related branches found
No related tags found