Pattern: Redundant escape inside Regexp
Issue: -
This rule checks for redundant escapes inside Regexp literals.
# bad
%r{foo\/bar}
# good
%r{foo/bar}
# good
/foo\/bar/
# good
%r/foo\/bar/
# bad
/a\-b/
# good
/a-b/
# bad
/[\+\-]\d/
# good
/[+\-]\d/