July 4, 2013
10:03 p.m.
Hi guys, Just a simple question about regex: 'a' matchesRegex: '.' --> true 'aa' matchesRegex: '.' --> false As '.' represents any character, the two previous lines are ok. Now, if I test with a cr, it returns true: String cr matchesRegex: '.' --> true. Is it the expected behavior ? Cheers, Jannik