Oct 1, 2012in regex, . Sep 13, 2015let's deconstruct your regex (i removed the backslashes that are used to escape characters for the sake of simplification, we will use the dots and slashes as literal here) so we're left. In case it is js it indicates the start and end of the regex, like quotes for strings.
Jun 1, 2017specifically when does ^ mean "match start" and when does it mean "not the following" in regular expressions? Dec 8, 2018the regex compiles fine, and there are already junit tests that show how it works. Repetition in regex by default is greedy:
In regex in general, ^ is negation only at the beginning of a character class. Unless cmake is doing something really funky (to the point where calling their pattern matching language "regex" could be.