Interface RegexpMatcher

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getGroupIfMatches​(java.lang.String str, int group)
      Returns the specified group if the string matches the Pattern.
      The Pattern will be managed internally by the RegexpMatcher implementation.
      boolean matches​(java.lang.String str)
      Returns true is the string macthes the Pattern.
      The Pattern will be managed internally by the RegexpMatcher implementation.
    • Method Detail

      • getGroupIfMatches

        java.lang.String getGroupIfMatches​(java.lang.String str,
                                           int group)
        Returns the specified group if the string matches the Pattern.
        The Pattern will be managed internally by the RegexpMatcher implementation.
      • matches

        boolean matches​(java.lang.String str)
        Returns true is the string macthes the Pattern.
        The Pattern will be managed internally by the RegexpMatcher implementation.