第四十八天(8.23) 正则表达式 爬虫



Pattern p=Pattern.compile(String 需求)
Matcher m=p.matcher(string s);
while(m.find)
{
}

贪婪爬取 “ab+”
非 :“ab+?”




Pattern p=Pattern.compile(String 需求)
Matcher m=p.matcher(string s);
while(m.find)
{
}

贪婪爬取 “ab+”
非 :“ab+?”
