Skip to content

Simple command-line utility for generating strings from regular expression patterns.

License

Notifications You must be signed in to change notification settings

zach-klippenstein/regen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

regen Build Status

Simple command-line utility for generating strings from regular expression patterns. Uses goregen.

Installation

go get github.com/zach-klippenstein/regen

Usage

Regen takes a regular expression as an argument, and prints the generated strings to standard out.

regen [args] pattern

where pattern is a regular expression. Run with -h for more information on arguments.

For example,

regen '[a-f0-9]{8}(-[a-f0-9]{4}){3}-[a-f0-9]{12}'

will generate a UUID (e.g. bc8c3f7d-1176-ae94-492a-2dab8fc06640).

About

Simple command-line utility for generating strings from regular expression patterns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages