[Cmake] case sensitive string matching ?

Peter Vanroose Peter . Vanroose at esat . kuleuven . ac . be
Tue, 1 Jul 2003 17:42:34 +0200 (CEST)


> Something seems wrong with this analysis. "A*" matches zero or more
> occurrences of "A". This means it matches the following strings: ""
> (null string), "A", "AA", "AAA", etc. The string "ab" does not match
> anything in that sequence, therefore it should not match.

You mean that "ab" should not match the reg.exp. "^A*$" (notice the ^ and $)
but it matches "^A*" (since it starts with zero A's) and also matches
"A*$" (since it ends in zero A's).


--	Peter Vanroose.