CMake fails if there are nested Regex Quantifier in the filepath.

Issue #25 resolved
sysrmr NA created an issue

CMake fails if there are nested Regex Quantifier (*?+) in the filepath. A Single usage of a Quantifier works (vera+). But not nested like vera++ or vera*+.

To reproduce just rename the vera directory to vera++.

RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error at cmake/use_vera++.cmake:141 (string):
  string sub-command REGEX, mode REPLACE failed to compile regex
  "/home/username/src/vera++(/|)".
Call Stack (most recent call first):
  src/CMakeLists.txt:74 (add_vera_targets)

Comments (4)

  1. Gaëtan Lehmann

    I thought that may be a problem - I didn't though that may arrive that fast! A fix is on its way.

  2. Log in to comment