View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015961 | CMake | CMake | public | 2016-02-09 08:14 | 2016-06-10 14:31 | ||||
Reporter | raffael casagrande | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Windows 7 | OS | OS Version | ||||||
Product Version | CMake 3.3.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015961: 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)". | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0040447) Ben Boeckel (developer) 2016-02-09 09:07 |
Yeah, that isn't supported. Adding support would likely mean rewriting the regex engine (which is old, global variable-driven C code). |
(0042935) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-02-09 08:14 | raffael casagrande | New Issue | |
2016-02-09 09:07 | Ben Boeckel | Note Added: 0040447 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042935 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |