Class/Object

net.liftweb.util

REMatcher

Related Docs: object REMatcher | package util

Permalink

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)

    Permalink

    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

    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. lazy val capture: List[String]

    Permalink

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

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val compiled: Pattern

    Permalink

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

  8. def eachFound: List[List[String]]

    Permalink

    Return the list of lists of subgroups of matches.

  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def foreach(func: (String, List[String]) ⇒ Unit): Unit

    Permalink

    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[_]

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

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

    Permalink
    Definition Classes
    Any
  16. def map[T](f: (String) ⇒ T): List[T]

    Permalink

    Map the specified function over the matches.

  17. lazy val matchStr: Box[String]

    Permalink

    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

    Permalink

    Matches for the pattern in the specified string.

  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. val str: String

    Permalink

    the String in which to perform pattern matching

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped