rs-basic/members/pest-demo/src/csv.pest

4 lines
115 B
Plaintext
Raw Normal View History

2024-01-15 23:26:30 +01:00
file = { SOI ~ (record ~ "\n")* ~ EOI }
record = { field ~ ("," ~ field)* }
field = { (ASCII_DIGIT | "." | "-")+ }