rbrep

Crates.iorbrep
lib.rsrbrep
version0.1.0
sourcesrc
created_at2022-12-29 19:03:41.578708
updated_at2022-12-29 19:03:41.578708
descriptionRust Binary Grep
homepage
repositoryhttps://github.com/unlink2/rbrep
max_upload_size
id747490
size27,030
Lukas (unlink2)

documentation

README

rbrep

Table of content

Installation

This program requires the latest stable release of rust. Once rust is set up correclty simply clone the repository. Then run:

cargo build # to build or
cargo install  # to install 

Usage

Gif showing rbrep in action

Syntax

The following options are available as of now:

  • any 8 bit hex number (e.g. 1a) will be interpreted as this precise value
  • ?? will match any value
  • A string (e.g. "a string") will match an exact string
  • A range (e.g. 1a-20) will match the range from n..m
  • A group will match the first valid item contained in it (e.g. (aabbaa-bb))
  • Any expression can be multiplied (e.g. aa*4)

License

This program is distributed under the terms of the MIT License.

Contributing

All contributions are welcome. Both pull requests and issue reports are always appreciated. Please make sure that all existing tests pass before submitting a pull request.

Commit count: 93

cargo fmt