Lines Matching defs:groups

112      * The storage used by groups. They may contain invalid values if
115 int[] groups;
164 * a pattern, and where groups begin. The nodes themselves are stateless,
224 groups = new int[parentGroupCount * 2];
252 result.groups = this.groups.clone();
261 * about the groups of the last match that occurred. The
279 groups = new int[parentGroupCount * 2];
281 for (int i = 0; i < groups.length; i++)
282 groups[i] = -1;
302 for(int i=0; i<groups.length; i++)
303 groups[i] = -1;
350 * <p> <a href="Pattern.html#cg">Capturing groups</a> are indexed from left
375 return groups[group * 2];
397 * <p> <a href="Pattern.html#cg">Capturing groups</a> are indexed from left
422 return groups[group * 2 + 1];
457 * <p> <a href="Pattern.html#cg">Capturing groups</a> are indexed from left
464 * that some groups, for example <tt>(a*)</tt>, match the empty string.
488 if ((groups[group*2] == -1) || (groups[group*2+1] == -1))
490 return getSubSequence(groups[group * 2], groups[group * 2 + 1]).toString();
500 * that some groups, for example <tt>(a*)</tt>, match the empty string.
528 if ((groups[group*2] == -1) || (groups[group*2+1] == -1))
530 return getSubSequence(groups[group * 2], groups[group * 2 + 1]).toString();
534 * Returns the number of capturing groups in this matcher's pattern.
543 * @return The number of capturing groups in this matcher's pattern
588 for (int i = 0; i < groups.length; i++)
589 groups[i] = -1;
754 // Process substitution string to replace group references with groups
1179 * The groups are filled with default values and the match of the root
1196 for (int i = 0; i < groups.length; i++)
1197 groups[i] = -1;
1208 * bounds. The groups are filled with default values and the match of the
1218 for (int i = 0; i < groups.length; i++)
1219 groups[i] = -1;