parsecsv: fix '\0' being displayed as '0' in docs (#15086) [backport]
This commit is contained in:
parent
a0049d1fb0
commit
a62bc55955
1 changed files with 2 additions and 2 deletions
|
|
@ -108,10 +108,10 @@ proc open*(my: var CsvParser, input: Stream, filename: string,
|
||||||
## the diverse optional parameters:
|
## the diverse optional parameters:
|
||||||
## - `separator`: character used to separate fields
|
## - `separator`: character used to separate fields
|
||||||
## - `quote`: Used to quote fields containing special characters like
|
## - `quote`: Used to quote fields containing special characters like
|
||||||
## `separator`, `quote` or new-line characters. '\0' disables the parsing
|
## `separator`, `quote` or new-line characters. '\\0' disables the parsing
|
||||||
## of quotes.
|
## of quotes.
|
||||||
## - `escape`: removes any special meaning from the following character;
|
## - `escape`: removes any special meaning from the following character;
|
||||||
## '\0' disables escaping; if escaping is disabled and `quote` is not '\0',
|
## '\\0' disables escaping; if escaping is disabled and `quote` is not '\\0',
|
||||||
## two `quote` characters are parsed one literal `quote` character.
|
## two `quote` characters are parsed one literal `quote` character.
|
||||||
## - `skipInitialSpace`: If true, whitespace immediately following the
|
## - `skipInitialSpace`: If true, whitespace immediately following the
|
||||||
## `separator` is ignored.
|
## `separator` is ignored.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue