Match match = new Match(value, startOuterOffset, startIndex, params);
Match match = new Match(value, 0, startOuterOffset, startIndex, endIndex, params);
        protected List<Match> getMatchList(String pattern, String text) throws REException {            REMatch[] matches = getMatches(pattern, text);            List<Match> matchList = new ArrayList<Match>();            int start = 0;            for(REMatch reMatch : matches) {                if(onlySpacesBeforeMatch(reMatch, text, start)) {                    String value = reMatch.toString(3).trim();                    int startOuterOffset = reMatch.getStartIndex(1);                    int startIndex = reMatch.getStartIndex(3);                    String params = reMatch.toString(4);                    if(params != null && params.indexOf(';') != -1) {                        params = params.substring(0, params.indexOf(';'));                    }                    Match match = new Match(value, startOuterOffset, startIndex, params);                    matchList.add(match);                    start = text.indexOf(reMatch.toString()) + reMatch.toString().length();                }            }            return matchList;        }