Problem spot by `eslint`. The RegExp doesn't need the escape character for the `.` when inside square braces.