scala val m = Pattern.compile("one (.*) three").matcher("one two three")
if (m.matches) println(m.group(1))
import java.util.regex.Pattern;
import java.util.regex.Matcher;
object Solution494 extends Application {
val m = Pattern.compile("one (.*) three").matcher("one two three")
if (m.matches) println(m.group(1))
}