[CMake] STRING REGEX MATCH

Brandon J. Van Every bvanevery at gmail.com
Fri Mar 31 02:49:47 EST 2006


Filipe Sousa wrote:
> STRING(REGEX REPLACE ".*Version ([0-9]+).*" "\\1" VERSION_STRING 
> "${CHICKEN_BANNER}")
>   
Thanks!  I got pretty close to that, but I was missing the .* bits.


Cheers,
Brandon Van Every



More information about the CMake mailing list