Lines Matching refs:matcher
20 import java.util.regex.Matcher;
50 // Create the matcher
51 Matcher matcher = pattern.matcher(mInput);
52 matcher.region(mOffset, mInput.length());
56 if (matcher.lookingAt()) {
57 updateLineCount(mOffset, matcher.end());
58 mOffset = matcher.end();
59 result = mInput.substring(matcher.start(), matcher.end());
84 // Create the matcher
85 Matcher matcher = pattern.matcher(mInput);
86 matcher.region(mOffset, mInput.length());
89 return matcher.lookingAt();
93 Matcher matcher = pattern.matcher(mInput);
94 matcher.region(mOffset, mInput.length());
95 if (matcher.lookingAt()) {
96 updateLineCount(mOffset, matcher.end());
97 mOffset = matcher.end();