CSV v2.2.0 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
Link to this function
lex(arg, options \\ []) View Source
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 tonil
, which disables replacement.