[Cmake] case sensitive string matching ?

Bill Hoffman bill . hoffman at kitware . com
Tue, 01 Jul 2003 11:29:44 -0400


The empty string is a sub string of "aa", so there is a match.

-Bill


At 11:14 AM 7/1/2003, Chris Volpe wrote:
>> 
>> So "A*" means, match 0 or more times, and "ab" matches 0 times so, it
>is a
>> match.
>
>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.
>
>-Chris
>_______________________________________________
>Cmake mailing list
>Cmake at cmake . org
>http://www . cmake . org/mailman/listinfo/cmake