unescapedParser property

Parser<String> unescapedParser
final

Parser for a single unescaped character of a basic TOML string.

basic-unescaped = wschar / %x21 / %x23-5B / %x5D-7E / non-ascii

This range excludes %x22 which is the quotation-mark character " and %x5C which is the escape character \.

Implementation

static final Parser<String> unescapedParser = ChoiceParser([
  tomlWhitespaceChar,
  char('\x21'),
  range('\x23', '\x5B'),
  range('\x5D', '\x7E'),
  tomlNonAscii
]).flatten('Basic string character expected');