Interface Regex


  • public interface Regex
    A regular expression that can be matched against a string.
    See Also:
    RegexEngine
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean matches​(java.lang.String str)
      Tests whether this regular expression matches a string.
    • Method Detail

      • matches

        boolean matches​(java.lang.String str)
        Tests whether this regular expression matches a string.
        Parameters:
        str - the String to be tested
        Returns:
        true if str matches this regular expression, false otherwise