Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bo1led-owl/zerogrep
Yet another grep, built with Zig
https://github.com/bo1led-owl/zerogrep
cli grep-like zig
Last synced: 1 day ago
JSON representation
Yet another grep, built with Zig
- Host: GitHub
- URL: https://github.com/bo1led-owl/zerogrep
- Owner: bo1led-owl
- License: gpl-3.0
- Created: 2024-08-12T13:01:28.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-10-11T03:13:01.000Z (4 months ago)
- Last Synced: 2024-12-06T08:22:11.798Z (about 2 months ago)
- Topics: cli, grep-like, zig
- Language: Zig
- Homepage:
- Size: 242 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zerogrep
A `grep` with custom regex engine written in Zig
## Usage
zg [flags]... PATTERN FILES...or instead of `FILES` you can redirect `zg`'s input and it will read from stdin.
For more details see `zg --help`## Supported regex features
- Grouping (`foo(bar)+baz`)
- Repetition (`*` and `+`)
- Optionals (`?`)
- Anchors (`^` and `$`)
- Character groups (`[a-zA-Z_]`, `[^0-9a-zA-Z]`)