|
|
@@ -489,9 +489,9 @@ public final class StringUtils {
|
|
|
public static String escapeRegex(String text) {
|
|
|
return REGEX_SPECIAL.matcher(text).replaceAll("\\\\$1");
|
|
|
}
|
|
|
-
|
|
|
- public static Pattern compileWildcard(String wildcard) {
|
|
|
- return Pattern.compile(StringUtils.escapeRegex(wildcard).replace("\\*", ".*"));
|
|
|
- }
|
|
|
|
|
|
+ public static Pattern compileWildcard(String wildcard) {
|
|
|
+ return Pattern.compile(StringUtils.escapeRegex(wildcard).replace("\\*", ".*"));
|
|
|
+ }
|
|
|
+
|
|
|
}
|