Command-line tool
pcre2
brew/pcre2
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Perl compatible regular expressions library with a new API
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
scoop install pcre2grep
macOS
brew install pcre2
Linux
brew install pcre2
Related command-line tools
- regex-opt
Perl-compatible regular expression optimizer - rxrepl
A command line tool to search and replace text in text files using Perl compatible regular expressions (PCRE). - pcregrep
Regular expression pattern matching utility using the same syntax and semantics as Perl 5. - oniguruma
Regular expressions library - onigmo
Regular expressions library forked from Oniguruma - rgxg
C library and command-line tool to generate (extended) regular expressions - pomsky
Regular expression language - melody
Language that compiles to regular expressions
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents