Skip to content
Library to generate random strings from Go/RE2 regular expressions
Branch: master
Clone or download
Pull request Compare This branch is 7 commits ahead of nilium:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.gitreview
LICENSE.txt
README.md
go.mod
regen.go
regen_test.go

README.md

GoDoc

This is a fork of https://github.com/nilium/regen.

There are some significant changes from the original code, however:

  • Converted from binary release to a library, exposing the GenString function for reuse.
  • Switched from crypto/rand to just using math/rand by default.
  • Added an option to control of the randomness (using a function whose behavior is similar to rand.Int63n).
You can’t perform that action at this time.