我有一个正则表达式,
Matcher matcher = Pattern.compile("([^=]+)=([^\n]*)").matcher(remote_data[i]);
然后我想取里面的匹配的子串,
是这样取吗>>>???if(matcher.find()){
   temp1= matcher.group(1);
   temp2= matcher.group(2);
}
有没有更好的方法,谢谢(就是取里面的子串)