CSV v2.1.1 CSV.Decoding.Lexer View Source

RFC 4180 compatible CSV lexer. Lexes tokens and sends them to the parser process.

Link to this section Summary

Functions

Lexes strings received from a sender (the decoder) and sends the resulting tokens to the parser process / the receiver

Link to this section Functions

Lexes strings received from a sender (the decoder) and sends the resulting tokens to the parser process / the receiver.

Options

Options get transferred from the decoder. They are:

  • :separator – The separator token to use, defaults to ?,. Must be a codepoint.

  • :replacement – The replacement string to use where lines have bad encoding. Defaults to nil, which disables replacement.