summaryrefslogtreecommitdiff
path: root/pest_consume/examples/csv/csv.pest
diff options
context:
space:
mode:
Diffstat (limited to 'pest_consume/examples/csv/csv.pest')
-rw-r--r--pest_consume/examples/csv/csv.pest15
1 files changed, 0 insertions, 15 deletions
diff --git a/pest_consume/examples/csv/csv.pest b/pest_consume/examples/csv/csv.pest
deleted file mode 100644
index a67af8c..0000000
--- a/pest_consume/examples/csv/csv.pest
+++ /dev/null
@@ -1,15 +0,0 @@
-WHITESPACE = _{ " "+ }
-newline = _{ "\r\n" | "\n" }
-number = { "-"? ~ (ASCII_DIGIT | ".")+ }
-string = { (!"'" ~ ASCII)* }
-field = ${
- number
- | "'" ~ string ~ "'"
-}
-record = {
- field ~ ("," ~ field)*
- | ""
-}
-file = {
- SOI ~ record ~ (newline ~ record)* ~ newline? ~ EOI
-}