Packages

class REMatcher extends AnyRef

This class adds higher-order functions and lazy evaluation for pattern matching on top of the standard Java regular expressions library.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. REMatcher
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new REMatcher(str: String, compiled: Pattern)

    str

    the String in which to perform pattern matching

    compiled

    the java.util.regex.Pattern to use to perform matches

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. lazy val capture: List[String]

    Cached version of the matched groups in this matcher's string.

  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val compiled: Pattern
  8. def eachFound: List[List[String]]

    Return the list of lists of subgroups of matches.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def foreach(func: (String, List[String]) ⇒ Unit): Unit

    Call the specified function for each match with each match and the list of all matched groups, then with any remaining data to the end of the string.

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def map[T](f: (String) ⇒ T): List[T]

    Map the specified function over the matches.

  17. lazy val matchStr: Box[String]

    A Full Box containing the substring of this REMatcher's string containing the matches for the specified pattern, or Empty if no match exists.

  18. lazy val matches: Boolean

    Matches for the pattern in the specified string.

  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. val str: String
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped