Typo in class regex pattern
dot was not escaped