标签: java regex escaping matcher
private static final String MOBILE_PATTERN = "^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$";
它在eclipse中说:无效的转义序列(有效转义序列为\b \t \n \f \r \" \' \\)
\b
\t
\n
\f
\r
\"
\'
\\