diff options
Diffstat (limited to 'src/history.pest')
-rw-r--r-- | src/history.pest | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/history.pest b/src/history.pest new file mode 100644 index 0000000..67597d1 --- /dev/null +++ b/src/history.pest @@ -0,0 +1,5 @@ +time = @{ ASCII_DIGIT+ } +duration = @{ ASCII_DIGIT+ ~ ("." ~ ASCII_DIGIT+)? } +command = @{ ANY* } + +line = ${ SOI ~ (": " ~ time ~ ":" ~ duration ~ ";")? ~ command ~ "\n"? ~ EOI } |