net.liftweb.util.REMatcher

class REMatcher

class REMatcher(val str : String, val compiled : Pattern)

 extends ScalaObject


This class adds higher-order functions and lazy evaluation for pattern matching on top of the standard Java regular expressions library.
param
compiled - the java.util.regex.Pattern to use to perform matches
str - the String in which to perform pattern matching


Companion: REMatcher

Source: RE.scala(83)

 Constructors

def this(str : String, compiled : Pattern)

 Fields

capture.. lazy val capture List[String]
eachFound.. def eachFound
Return the list of lists of subgroups of matches
List[List[String]]
matchStr.. lazy val matchStr Box[String]
matches.. lazy val matches Boolean

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
foreach.. def foreach(func : (String, List[String]) => 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
Unit
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
map.. def map[T](f : (String) => T)
Map the specified function over the matches
List[T]
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.