RegexMatch

net.ruippeixotog.scalascraper.scraper.ContentParsers.RegexMatch
class RegexMatch extends String => String

A content parser with extra options for the retrieval of the first match of a regex.

Attributes

Graph
Supertypes
trait String => String
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def allCaptured: String => List[String]

Matches text content against a regex and returns all the captured groups of the first match.

Matches text content against a regex and returns all the captured groups of the first match.

Attributes

def apply(content: String): String
def captured: String => String

Matches text content against a regex and returns the first captured group of the first match.

Matches text content against a regex and returns the first captured group of the first match.

Attributes

Inherited methods

def andThen[A](g: String => A): String => A

Attributes

Inherited from:
Function1
def compose[A](g: A => String): A => String

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1