Port keep, keep while and keep until commands (#384)

* Add `KeepUntil` sub-command

* Add `KeepWhile` sub-command

* Add `Keep` command

* Fix error type
This commit is contained in:
Arthur Targaryen
2021-12-17 01:57:02 +01:00
committed by GitHub
parent efb4a9f95c
commit 342584e5f8
6 changed files with 292 additions and 0 deletions

View File

@ -55,6 +55,9 @@ pub fn create_default_context() -> EngineState {
Each,
First,
Get,
Keep,
KeepUntil,
KeepWhile,
Last,
Length,
Lines,