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

4 lines
115 B
Plaintext

file = { SOI ~ (record ~ "\n")* ~ EOI }
record = { field ~ ("," ~ field)* }
field = { (ASCII_DIGIT | "." | "-")+ }