Reports redundant escapes in the replacement string of regex methods. It is possible to escape any character in a regex replacement string, but if a literal $ or \ is required is escaping necessary.

Example:


  string.replaceAll("a", "\\b");

After the quick-fix is applied:


  string.replaceAll("a", "b");

New in 2022.3