Escape dot in a regex range January 13, 2023 by Tarik The dot operator . does not need to be escaped inside of a character class [].