Packages

  • package root

    Gnieh Tekstlib is a library grouping standard classes and packages allowing people to work with texts and documents.

    Gnieh Tekstlib

    Gnieh Tekstlib is a library grouping standard classes and packages allowing people to work with texts and documents.

    Package Structure

    Definition Classes
    root
  • package gnieh
    Definition Classes
    root
  • package regex
    Definition Classes
    gnieh
  • package dsl

    This package contains the DSL for building regular expressions.

    This package contains the DSL for building regular expressions. It is inspired by the [Re](http://re-lib.rubyforge.org/) library. It also provides some useful implicit conversions to be used more conveniently.

    Definition Classes
    regex
  • DslGreedyRegex
  • DslRegex
  • RichChar
t

gnieh.regex.dsl

DslGreedyRegex

trait DslGreedyRegex extends DslRegex

A greedy operator regular expression. It matches as many characters as possible.

Linear Supertypes
DslRegex, Regex, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DslGreedyRegex
  2. DslRegex
  3. Regex
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def nonGreedy: DslRegex

    Turns this greedy operator (matches as many characters as possible) into a non greedy one (matches as few characters as possible)

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(that: DslRegex): DslRegex

    Matches this regular expression followed by that regular expression

    Matches this regular expression followed by that regular expression

    Definition Classes
    DslRegex
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. lazy val capture: DslRegex

    Matches the same regular expression and captures the result

    Matches the same regular expression and captures the result

    Definition Classes
    DslRegex
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def findAllIn(input: String): Iterator[String]

    Finds all matches of this regular expression in the input.

    Finds all matches of this regular expression in the input.

    Definition Classes
    Regex
  12. def findAllMatchIn(input: String): Iterator[Match]

    Finds all matches of this regular expression in the input.

    Finds all matches of this regular expression in the input.

    Definition Classes
    Regex
  13. def findFirstIn(input: String): Option[String]

    Finds the first match of this regular expression in the input.

    Finds the first match of this regular expression in the input. If nothing matches, returns None

    Definition Classes
    Regex
  14. def findFirstMatchIn(input: String): Option[Match]

    Finds the first match of this regular expression in the input.

    Finds the first match of this regular expression in the input. If nothing matches, returns None

    Definition Classes
    Regex
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isMatchedBy(input: String): Boolean

    Tells whether this regular expression is matched by the given input

    Tells whether this regular expression is matched by the given input

    Definition Classes
    Regex
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. lazy val oneOrMore: DslGreedyRegex

    Matches this regular expression one or more times

    Matches this regular expression one or more times

    Definition Classes
    DslRegex
  23. lazy val optional: DslGreedyRegex

    Matches this regular expression zero or one times

    Matches this regular expression zero or one times

    Definition Classes
    DslRegex
  24. val re: ReNode
    Definition Classes
    DslRegex
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    Regex → AnyRef → Any
  27. def unapplySeq(input: String): Option[List[String]]
    Definition Classes
    Regex
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. lazy val zeroOrMore: DslGreedyRegex

    Matches this regular expression zero or more times

    Matches this regular expression zero or more times

    Definition Classes
    DslRegex
  32. def |(that: DslRegex): DslRegex

    Matches this regular expression or that regular expression

    Matches this regular expression or that regular expression

    Definition Classes
    DslRegex

Inherited from DslRegex

Inherited from Regex

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped