remove superfluous escapes in regexps
eslint 4.2 complains about unnecessary backslashes before chars
that do not need to be escaped (e.g /[<\>]/ vs. /[<>]/).
The patch also changes superfluous backslashes to produce only
warnings.
Patch by Kai Michaelis