카테고리 없음
오늘의 유머 - 프로그래머 게시판 6918 번
루트노드
2014. 12. 4. 11:28
import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main { Pattern p = Pattern.compile("\\((\\d+),(\\d+)\\)"); Matcher m = p.matcher(str); while (m.find()){ } m.reset(); while (m.find()){ } m.reset(); while (m.find()){ } } }