regexps에 대한 간단한 질문. 나는 Java Regexp Matcher
String text = "foobar1foobar1";
있어 그리고 내가 그런 일 할 때는 먼저 1 (는 foobar) 전에 일부를 얻을 필요가 :
Pattern date_pattern = Pattern.compile("(.+)1");
Matcher matcher = date_pattern.matcher(text);
matcher.group(1);
을하지만 "foobar1foobar"을받을.