newlineSequence method
Matches a single newline sequence (\n, \r\n, or \r).
Implementation
Parser<String> newlineSequence() =>
[string('\r\n'), char('\n'), char('\r')].toChoiceParser();
Matches a single newline sequence (\n, \r\n, or \r).
Parser<String> newlineSequence() =>
[string('\r\n'), char('\n'), char('\r')].toChoiceParser();