3 unstable releases

0.2.1 Jul 26, 2021
0.2.0 Jul 26, 2021
0.1.0 Jul 6, 2021

#444 in #regex


Used in from-regex

MIT license

38KB
773 lines

FromRegex

crates.io

Derive some useful regex methods on a struct or enum, given a pattern, optionally capturing data.

See the documentation for more!

Prior Work

adhoc_derive provides a similar derive macro, but with some different structure/options.

Dependencies

~4–5.5MB
~98K SLoC