Class

dregex

CompiledRegex

Related Doc: package dregex

Permalink

class CompiledRegex extends Regex

A fully-compiled regular expression that was generated from a string literal.

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

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def diff(other: Regex): Regex

    Permalink

    Subtract other regular expression from this one.

    Subtract other regular expression from this one. The resulting expression will match the strings that are matched this expression and are not matched by the other, and only those. Differences take O(n⋅m) time, where n and m are the number of states of the DFA of the operands.

    Definition Classes
    Regex
  7. def doIntersect(other: Regex): Boolean

    Permalink

    Return whether this expression matches at least one string in common with another.

    Return whether this expression matches at least one string in common with another. Intersections take O(n⋅m) time, where n and m are the number of states of the DFA of the operands.

    Definition Classes
    Regex
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def equiv(other: Regex): Boolean

    Permalink

    Return whether this regular expression is equivalent to other.

    Return whether this regular expression is equivalent to other. Two regular expressions are equivalent if they match exactly the same set of strings. This operation takes O(n⋅m) time, where n and m are the number of states of the DFA of the operands.

    Definition Classes
    Regex
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def intersect(other: Regex): Regex

    Permalink

    Intersect this regular expression with another.

    Intersect this regular expression with another. The resulting expression will match the strings that are matched by the operands, and only those. Intersections take O(n⋅m) time, where n and m are the number of states of the DFA of the operands.

    Definition Classes
    Regex
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isProperSubsetOf(other: Regex): Boolean

    Permalink

    Return whether this expressions matches every expression that is matched by another, but the expressions are not equal.

    Return whether this expressions matches every expression that is matched by another, but the expressions are not equal. Two diff between the two operands are done internally.

    Definition Classes
    Regex
  17. def isSubsetOf(other: Regex): Boolean

    Permalink

    Return whether this expressions matches every expression that is matched by another.

    Return whether this expressions matches every expression that is matched by another. An diff between the two operands is done internally.

    Definition Classes
    Regex
  18. def matchAndReport(string: CharSequence): (Boolean, Int)

    Permalink

    Similar to method matches, except that also return how many characters were successfully matched in case of failure.

    Similar to method matches, except that also return how many characters were successfully matched in case of failure.

    Definition Classes
    Regex
  19. def matches(string: CharSequence): Boolean

    Permalink

    Return whether a string is matched by the regular expression (i.e.

    Return whether a string is matched by the regular expression (i.e. whether the string is included in the language generated by the expression). As the match is done using a DFA, its complexity is O(n), where n is the length of the string. It is constant with respect to the length of the expression.

    Definition Classes
    Regex
  20. def matchesAtLeastOne(): Boolean

    Permalink

    Return whether this regular expression matches anything.

    Return whether this regular expression matches anything. Note that the empty string is a valid match.

    Definition Classes
    Regex
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. val originalString: String

    Permalink

    The original regex string, before parsing.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    CompiledRegex → AnyRef → Any
  27. def union(other: Regex): Regex

    Permalink

    Unite this regular expression with another.

    Unite this regular expression with another. The resulting expression will match the strings that are matched by either of the operands, and only those. Unions take O(n⋅m) time, where n and m are the number of states of the DFA of the operands.

    Definition Classes
    Regex
  28. val universe: Universe

    Permalink

    Return this regex's Universe.

    Return this regex's Universe. Only regexes of the same universe can be operated together.

    Definition Classes
    CompiledRegexRegex
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Regex

Inherited from AnyRef

Inherited from Any

Ungrouped