Repository navigation
Immutable
release. Only release title and notes can be modified.
What's new
Extract links and addresses from a line of Markdown, including a URL with balanced parentheses:
echo 'Email ops@example.com about [the fix](https://example.org/wiki/Fix_(v2)).' | squeeze --email --urlops@example.com
https://example.org/wiki/Fix_(v2)
Use --exit-code in scripts to distinguish matches (0), an empty result (1), and an error (2). The new recipes also show how to count IPs in logs and collect links from release commits.
Upgrading from 1.x
- CLI flags. Use
--css-colorto find CSS colors.--color=auto|always|nevercontrols output styling. Bare--openopens URL results. Use--open=pathfor files or--open=urifor other schemes. - Installation. Use
brew install aymericbeaumet/tap/squeeze,mise use -g github:aymericbeaumet/squeeze@2.0.0, or an archive below. Cargo users can build the CLI withcargo install --locked --git https://github.com/aymericbeaumet/squeeze --tag v2.0.0. Only the library is published to crates.io. - Rust API. Replace
scanner::ScannerErrorwithsqueeze::Error. Handle theResultreturned when adding a hash algorithm, URI scheme or codetag mnemonic. For nonstandard tags, calladd_custom_mnemonic. The minimum Rust version remains 1.95. Library migration notes.