Problem spot by `eslint`. The RegExp doesn't need the escape character for the `.` when inside square braces.
Activity
[-]Remove escaping character on regexe[/-][+]Remove escaping character on regex[/+]