regex-rure: Bindings to Rust's regex library

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

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


[Skip to Readme]

Properties

Versions 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, 1.0.0.0, 1.0.0.0
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-03-22T14:03:30Z

Modules

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


Readme for regex-rure-1.0.0.0

[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)