regex-rure: Bindings to Rust's regex library

[ agpl, library, regex, text ] [ Propose Tags ] [ Report a vulnerability ]

Bindings to Rust's regex library, including a higher-level API.


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
cross

Enable to ease cross-compiling

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.1.0, 0.1.2.0, 0.1.2.1 (info)
Change log CHANGELOG.md
Dependencies base (>=4.10.0.0 && <5), bytestring (>=0.11.0.0) [details]
License AGPL-3.0-only
Author Vanessa McHale
Maintainer vamchale@gmail.com
Category Text, Regex
Source repo head: git clone https://github.com/vmchale/rure
Uploaded by vmchale at 2025-02-17T19:32:17Z
Distributions NixOS:0.1.2.0
Downloads 641 total (32 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for regex-rure-0.1.2.1

[back to package description]

Bindings to Rust's regular expression library. See here for installation instructions. You'll need to put librure.so or librure.dylib etc. where libraries go on your system.

Lower-level bindings are exhaustive; higher-level bindings do not include capture groups.

Performance

As of 0.1.0.3:

benchmarking rure/matches
time                 334.6 ns   (334.1 ns .. 335.2 ns)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 333.8 ns   (333.5 ns .. 334.2 ns)
std dev              1.247 ns   (1.058 ns .. 1.649 ns)

benchmarking tdfa/matches
time                 1.180 μs   (1.180 μs .. 1.181 μs)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 1.179 μs   (1.179 μs .. 1.180 μs)
std dev              2.029 ns   (1.607 ns .. 2.851 ns)