RegexMatches

net.ruippeixotog.scalascraper.scraper.ContentParsers$.RegexMatches
class RegexMatches extends String => Iterator[String]

A content parser with extra options for the retrieval of all the matches of a regex.

Attributes

Graph
Supertypes
trait String => Iterator[String]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def allCaptured: String => Iterator[List[String]]

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

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

Attributes

def apply(content: String): Iterator[String]
def captured: String => Iterator[String]

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

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

Attributes

Inherited methods

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

Attributes

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

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