The following issue has been SUBMITTED.
======================================================================
https://cmake.org/Bug/view.php?id=15961
======================================================================
Reported By: raffael casagrande
Assigned To:
======================================================================
Project: CMake
Issue ID: 15961
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2016-02-09 08:14 EST
Last Modified: 2016-02-09 08:14 EST
======================================================================
Summary: CMake Regex does not support lookahead regular
expressions.
Description:
Trying to use a Regular expression that contains a lookahead clause is not
supported by CMake.
Steps to Reproduce:
Try to execute the following CMake statement:
string(REGEX MATH "(?!red|green|blue)" _bla ${CMAKE_CURRENT_LIST_DIR})
It will fail with:
string sub-command REGEX, mode REPLACE failed to compile regex
"(?!red|green|blue)".
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2016-02-09 08:14 raffael casagrandeNew Issue
======================================================================
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers