Interface RE.MatchGroup

All Superinterfaces:
CharSequence
All Known Subinterfaces:
RE.Match
Enclosing interface:
RE

public static interface RE.MatchGroup extends CharSequence
Provides the details of a matching group. The Matching Group is also a CharSequence.
  • Method Details

    • end

      int end()
      The end index of this group in the original string. See Matcher.end(String)
    • getMatcher

      Matcher getMatcher()
      The original matcher
    • name

      String name()
      The name of the captured group
    • start

      int start()
      The start index of this group in the original string. See Matcher.start(String)
    • value

      String value()
      The value of the captured group.