RegexExtractor

org.specs2.text.RegexExtractor
See theRegexExtractor companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def extract[R](text: String, f: PartialFunction[Any, R], regexToUse: => Regex): R
def extract1(t: String, full: => Regex, group: => Regex): String
def extract10(t: String, full: => Regex, group: => Regex): (String, String, String, String, String, String, String, String, String, String)
def extract2(t: String, full: => Regex, group: => Regex): (String, String)
def extract3(t: String, full: => Regex, group: => Regex): (String, String, String)
def extract4(t: String, full: => Regex, group: => Regex): (String, String, String, String)
def extract5(t: String, full: => Regex, group: => Regex): (String, String, String, String, String)
def extract6(t: String, full: => Regex, group: => Regex): (String, String, String, String, String, String)
def extract7(t: String, full: => Regex, group: => Regex): (String, String, String, String, String, String, String)
def extract8(t: String, full: => Regex, group: => Regex): (String, String, String, String, String, String, String, String)
def extract9(t: String, full: => Regex, group: => Regex): (String, String, String, String, String, String, String, String, String)
def extractAll(text: String, full: => Regex, group: => Regex): List[String]

extract all groups and return a list of strings

extract all groups and return a list of strings

Attributes

def strip(text: String): String
def strip(text: String, full: => Regex, group: => Regex): String

Apparently, the expression to replace can have any regex special character except ''

Apparently, the expression to replace can have any regex special character except ''

Attributes

Concrete fields

val DEFAULT_REGEX: String