Class

scala.util.matching.compat

RegexOps

Related Doc: package compat

Permalink

implicit final class RegexOps extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RegexOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RegexOps(regex: Regex)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  7. def matches(source: CharSequence): Boolean

    Permalink

    Returns whether this Regex matches the given character sequence.

    Returns whether this Regex matches the given character sequence.

    Like the extractor, this method takes anchoring into account.

    source

    The text to match against

    returns

    true if and only if source matches this Regex.

    Example:
    1. """\d+""".r matches "123" // returns true
    See also

    Regex#unanchored

  8. val regex: Regex

    Permalink
  9. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped