well it turns out.... that the java library supports the matcher/pattern api and all you need to do is call matcher.group() in the printline..... and that my mistake was writing matcher.group() with a capital M which is not recognized by the API.
so these:
static String group() {
// TODO Auto-generated method stub
return group();
}
static int end() {
// TODO Auto-generated method stub
return end();
}
static int start() {
// TODO Auto-generated method stub
return start();
}
are obsolete.