Subversion Repositories XServices

Rev

Rev 93 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 93 Rev 94
Line 63... Line 63...
63
			throws XServicesFault {
63
			throws XServicesFault {
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