Parser0

object Parser0

Parsers constructed through these methods consume zero or more characters

Parsers constructed through these methods consume zero or more characters

class Object
trait Matchable
class Any

Value members

Concrete methods

def charsThroughRegexOrEnd(regex: Regex): Parser[String]

Parse zero or more characters through the first match of the regular expression or the end of the input

Parse zero or more characters through the first match of the regular expression or the end of the input

def charsUntil(predicate: Char => Boolean): Parser[String]

Parse zero or more characters until the predicate is true.

Parse zero or more characters until the predicate is true.

def charsUntilRegexOrEnd(regex: Regex): Parser[String]

Parse zero or more characters until the first match of the regular expression or the end of the input

Parse zero or more characters until the first match of the regular expression or the end of the input

def charsUntilTerminator(terminators: String*): Parser[String]

Parse until the first example of one of the terminators

Parse until the first example of one of the terminators

def charsUntilTerminatorOrEnd(terminators: String*): Parser[String]

Parse until the first example of one of the terminators or the end of the input

Parse until the first example of one of the terminators or the end of the input

def charsWhile(predicate: Char => Boolean): Parser[String]

Parses zero or more character while predicate succeeds.

Parses zero or more character while predicate succeeds.