In my image the second expression returns true as well. In fact the '.' (dot) matches anything but the null character (see RxMatcher>>#syntaxAny).
Lukas 2010/8/31 Nick Ager <[email protected]>: > Hi, > Is there a way to allow the regex '.' (dot) to match line break characters: > 'hello regex' matchesRegex: '.*regex' "true" > 'hello > regex' matchesRegex: '.*regex' "false" > > Thanks > Nick > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
