Packages

class Wildcard extends Matchable

The Wildcard value class provides an implementation for wildcard string matching that checks if the 'pattern' string matches against a given 'self' string based on single (CHAR_WILD_ONE) and/or multiple (CHAR_WILD_MANY) wildcards.

Linear Supertypes
Matchable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Wildcard
  2. Matchable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Wildcard(self: String)

Value Members

  1. def =~(pattern: String): Boolean

    The equal-match operator determines whether the 'pattern' string matches the given 'self' string.

    The equal-match operator determines whether the 'pattern' string matches the given 'self' string. Pattern may contain single- and/or multiple-replacing wildcard characters.

    pattern

    the pattern to be matched (e.g., wildcard or regex)@param self the self against which the string to be matched

    Definition Classes
    WildcardMatchable
  2. def isMatch(pattern: String): Boolean

    Test whether the 'pattern' string matches the given 'self' string.

    Test whether the 'pattern' string matches the given 'self' string. Pattern may contain single- and/or multiple-replacing wildcard characters.

  3. val self: String
  4. def toString(): String

    Convert this Wildcard object to its underlying string.

    Convert this Wildcard object to its underlying string.

    Definition Classes
    Wildcard → AnyRef → Any