| Crates.io | pomsky-bin |
| lib.rs | pomsky-bin |
| version | 0.12.0 |
| created_at | 2022-07-04 18:36:47.497358+00 |
| updated_at | 2025-11-08 10:11:34.882023+00 |
| description | Compile pomsky expressions, a new regular expression language |
| homepage | https://pomsky-lang.org/ |
| repository | https://github.com/pomsky-lang/pomsky |
| max_upload_size | |
| id | 619120 |
| size | 124,725 |
This CLI allows you to compile pomsky expressions to regexes in the command line.
You can install Pomsky by...
@pomsky-lang/cli NPM module globallypomsky-bin AUR packageSee the releases page for instructions.
Ensure you have a recent Rust toolchain installed. Instructions for how to install Rust can be found here. Then run
cargo install pomsky-bin
Then you can compile pomsky expressions to a regex flavor of your choice; the default is PCRE.
Run pomsky --help for more information.
Pomsky provides nice error messages:
$ pomsky "'Hello world'* \X+"
Error:
× Backslash escapes are not supported
╭────
1 │ 'Hello world'* \X+
· ─┬
· ╰── error occurred here
╰────
help: Replace `\X` with `Grapheme`
Dual-licensed under the MIT license or the Apache 2.0 license.