Class/Object

ceedubs.irrec.regex

Regex

Related Docs: object Regex | package regex

Permalink

sealed abstract class Regex[-In, +M, Out] extends Serializable

A generalized representation of a regular expression.

This code was ported (with minor modifications) from https://hackage.haskell.org/package/regex-applicative

In

the type of each element in the input. For a traditional regular expression, this would be Char.

M

metadata associated with each ceedubs.irrec.regex.Regex.Elem instance. This could be String to attach a name to elems. More commonly, it is something like ceedubs.irrec.regex.Match with a Char type parameter.

Out

the output produced by a regular expression if the input matches. Additional useful methods are added via syntax enrichment with ceedubs.irrec.regex.RegexOps and ceedubs.irrec.regex.RegexCOps.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Regex
  2. Serializable
  3. Serializable
  4. AnyRef
  5. 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. def *: Regex[In, M, Chain[Out]]

    Permalink
  4. def *?: Regex[In, M, Chain[Out]]

    Permalink
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def ?: Regex[In, M, Option[Out]]

    Permalink
  7. def ??: Regex[In, M, Option[Out]]

    Permalink
  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def count(n: Int): Regex[In, M, Chain[Out]]

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def map[Out2](f: (Out) ⇒ Out2): Regex[In, M, Out2]

    Permalink
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def oneOrMore(greediness: Greediness): Regex[In, M, NonEmptyChain[Out]]

    Permalink
  22. def optional(greediness: Greediness): Regex[In, M, Option[Out]]

    Permalink
  23. def quantifyFold[Out2](q: Quantifier, z: Out2)(fold: (Out2, Out) ⇒ Out2): Regex[In, M, Out2]

    Permalink
  24. def repeat(minInclusive: Int, maxInclusive: Option[Int], greediness: Greediness): Regex[In, M, Chain[Out]]

    Permalink
  25. def star(greediness: Greediness): Regex[In, M, Chain[Out]]

    Permalink
  26. def starFold[Out2](g: Greediness, z: Out2)(fold: (Out2, Out) ⇒ Out2): Regex[In, M, Out2]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  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 Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped