

public boolean matches(): Attempts to match the entire region against the pattern.public boolean find(int start): Resets this matcher and then attempts to find the next subsequence of the input sequence that matches the pattern, starting at the specified index.public boolean find(): Attempts to find the next subsequence of the input sequence that matches the pattern.public boolean lookingAt(): Attempts to match the input sequence, starting at the beginning of the region, against the pattern.Study methods review the input string and return a boolean indicating whether or not the pattern is found. public int end(int group): Returns the offset after the last character of the subsequence captured by the given group during the previous match operation.public int end(): Returns the offset after the last character matched.public int start(int group): Returns the start index of the subsequence captured by the given group during the previous match operation.public int start(): Returns the start index of the previous match.Index methods provide useful index values that show precisely where the match was found in the input string: For convenience, the methods listed below are grouped according to functionality. This section describes some additional useful methods of the Matcher class.
