regex - how regular expression starts from dot -


my string car.audi=true wanna select audi alone. if use . regular expression take single character. how match string?

in order accept special character literal in regular expressions, must place character in character class. may vary implementation generally, regex [.] match single literal period character.

alternatively may escape period backslash, in regex \. should match literal dot.


Comments