FieldView.unescaped
string unescaped() const @safeReturns the logical text of the field with escapes resolved when needed.
Notes:
- This function may allocate when
needsUnescapeorneedsBackslashUnescapeis true, or when a distinctstringinstance is required. For zero-allocation access to the underlying slice (possibly still containing escapes), usetoString(). - Doubled-quote collapsing uses the field's own
quoteChar, so fields produced by non-RFC dialects (e.g. `'`) unescape correctly. - Backslash collapsing applies to `\` before the quote, the delimiter, CR/LF, or another backslash, per the BACKSLASH escape-style contract.