Fix redundant escape \\ in regex in Utils
This commit is contained in:
parent
5a18730845
commit
349990fd48
|
@ -20,8 +20,8 @@ public final class Utils {
|
|||
public static final String HTTPS = "https://";
|
||||
public static final String UTF_8 = "UTF-8";
|
||||
public static final String EMPTY_STRING = "";
|
||||
private static final Pattern M_PATTERN = Pattern.compile("(https?)?:\\/\\/m\\.");
|
||||
private static final Pattern WWW_PATTERN = Pattern.compile("(https?)?:\\/\\/www\\.");
|
||||
private static final Pattern M_PATTERN = Pattern.compile("(https?)?://m\\.");
|
||||
private static final Pattern WWW_PATTERN = Pattern.compile("(https?)?://www\\.");
|
||||
|
||||
private Utils() {
|
||||
// no instance
|
||||
|
|
Loading…
Reference in New Issue