this post was submitted on 21 Jun 2024
422 points (99.3% liked)

Software Gore

199 readers
2 users here now

A community for posting software malfunctions

Deliberately bad software or bad design is not software gore, it must be something unintentional

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient and shear it



founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] CodexArcanum 3 points 5 months ago

I do, and people do seem to use it for testing (hilariously not a use case I'd initially considered when writing it), but I'm pretty lax about maintaining it. The dependencies I (today) noticed are quite out of date and non-trivial to update. If you'd like to check it out, it's here: https://crates.io/crates/regex_generate/0.2.3

If you'd like a more updated version, there are a few forks but also someone seems to have taken the concept and run a little farther with it: https://crates.io/crates/rand_regex

That one seems more explicitly for testing and might be suitable to your needs. These are both Rust crates but should be usable from any language with a C compatible FFI.