On 08.07.2012, suvayu ali wrote: > However I used `\\.' instead of `\.', I believe the former > should match a literal `.' just like `\\+'? Yes, of course. I simply overlooked the second slash here, sorry! If the expression only should match on a single point, you have to double-escape the "." here, otherwise it will match on any single character.