Add bytes collect, bytes remove, bytes build cmd (#6008)

* add bytes collect

* index_of support searching from end

* add bytes remove

* make bytes replace work better for empty pattern

* add bytes build

* remove comment

* tweak words

Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
This commit is contained in:
WindSoilder
2022-07-11 19:26:00 +08:00
committed by GitHub
parent 920e0acb85
commit 9e3c64aa84
8 changed files with 492 additions and 25 deletions

View File

@ -218,6 +218,9 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
BytesAdd,
BytesAt,
BytesIndexOf,
BytesCollect,
BytesRemove,
BytesBuild,
}
// FileSystem