Match an actual period character.
Section: Escaping and Literals
Literal dot
regex
regex
\.Explanation
Dot is special outside a character class, so escape it when matching a literal `.`.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Escaping and Literals