private static void parse(String line) {
Pattern p= Pattern.compile("^http:\/\/[A-Za-z0-9]+\.[A-Za-z0-9]+[\/=\?%\-&_~`@[\]\':+!]*([^<>\"\"])*$");
Matcher m=p.matcher(line);
while( m.find()){
System.out.println(m.group());
}
-------------"^http为红线 invalid escape sequence ()valid ones are \b\f---------
是什么原因呢