Subversion Repositories XServices

Rev

Rev 93 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 93 Rev 94
Line 64... Line 64...
64
		int allflags = getFlags(flags);
64
		int allflags = getFlags(flags);
65
		Pattern pattern = Pattern.compile(search, allflags);
65
		Pattern pattern = Pattern.compile(search, allflags);
66
		Matcher matcher = pattern.matcher(res);
66
		Matcher matcher = pattern.matcher(res);
67
		StringMatchType rm = new StringMatchType();
67
		StringMatchType rm = new StringMatchType();
68
		while (matcher.find()) {			
68
		while (matcher.find()) {
-
 
69
			for(int i=0; i<=matcher.groupCount();i++){
69
			rm.addStringMatch(matcher.start(), matcher.end(), matcher.group());
70
				rm.addStringMatch(matcher.start(), matcher.end(), matcher.group(i));
-
 
71
			}		
70
		}
72
		}
71
		return rm;
73
		return rm;
72
	}
74
	}
Line 73... Line 75...
73
	
75