__anonymous.enforceUntil

Match all next characters against the function until it returns true

  1. TString enforceUntil(Checker check)
    struct __anonymous
    TString
    enforceUntil
    (
    Checker check
    )
  2. ParsingStream!T enforceUntil(Checker check, out TString match)

Parameters

check
Type: Checker

Function to match against.

Return Value

Type: TString

All matched characters.

Throws

MatchException if didn't match anything

Meta