[Cmake] regular expressions with special symbols
Iker Arizmendi
iker at research.att.com
Thu May 27 22:59:16 EDT 2004
I think you need to escape the period with two
backslashes, not one.
Iker
Eric Wing wrote:
> I need to write a small macro which needs to check if
> a file extension exists in a string, and if so, what
> that extension is.
>
> I would like to do some kind of check using something
> like *.cpp, but the '.' is a special symbol. I tried
> using a backslash to escape the symbol, but it didn't
> seem to work.
>
> Is there a different way to escape characters with
> CMake?
>
> Thanks,
> Eric
>
> _______________________________________________
> Cmake mailing list
> Cmake at www.cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
--
Iker Arizmendi
AT&T Labs - Research
Speech and Image Processing Lab
e: iker at research.att.com
w: http://research.att.com
More information about the Cmake
mailing list