@Test void does_not_escape_ant_matcher_special_characters() { assertThat(escapeRegExpChars("a?c")).isEqualTo("a?c"); assertThat(escapeRegExpChars("a*c")).isEqualTo("a*c"); assertThat(escapeRegExpChars("a**c")).isEqualTo("a**c"); }
@VisibleForTesting static String escapeRegExpChars(String pattern) { return pattern.replaceAll("([.(){}+|^$\\[\\]\\\\])", "\\\\$1"); }
SpringAntMatcherOrderCheck extends AbstractMethodDetection { @VisibleForTesting static String escapeRegExpChars(String pattern) { return pattern.replaceAll("([.(){}+|^$\\[\\]\\\\])", "\\\\$1"); } }
SpringAntMatcherOrderCheck extends AbstractMethodDetection { @VisibleForTesting static String escapeRegExpChars(String pattern) { return pattern.replaceAll("([.(){}+|^$\\[\\]\\\\])", "\\\\$1"); }  }
SpringAntMatcherOrderCheck extends AbstractMethodDetection { @VisibleForTesting static String escapeRegExpChars(String pattern) { return pattern.replaceAll("([.(){}+|^$\\[\\]\\\\])", "\\\\$1"); }   }
SpringAntMatcherOrderCheck extends AbstractMethodDetection { @VisibleForTesting static String escapeRegExpChars(String pattern) { return pattern.replaceAll("([.(){}+|^$\\[\\]\\\\])", "\\\\$1"); }    }