Xavier Larrode wrote:
> Hi all,
> i have a regex like this :
> SET(GTKMM_LIBDIR_EXTRACT_REGEX "[-][l]([a-zA-Z0-9/._-]*)")
> And gtmm is using  the lib sigc++-2.0
> So i need to add to my regex the character + .
> i tried with \+ ; \\+ '+' but nothing work ...

Make sure the "-" is still the last character in the brackets so that
the regex doesn't think you are specifying a range.

SET(GTKMM_LIBDIR_EXTRACT_REGEX "[-][l]([a-zA-Z0-9/._+-]*)")

-Brad

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to