class RegexSelector implements Selector {

    @Override
    public String select(String text) {
        return selectGroup(text).get(group);
    }

    public  RegexSelector(String regexStr, int group);
    public  RegexSelector(String regexStr);

}