I haven't really seen a way to get a list of group matches in a regex. For example, string( REGEX MATCH ) only returns the whole string matched, not just what was in the capture groups. If I do this:
(\\w+)\\,(\\w+)\\,(\\w+) and I match that regex against this string: hello,world,today I should get a list with: hello;world;today How can I do this? --------- Robert Dailey
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
