take regex as input, return a valid string
Install with component(1):
$ component install rabidmachine9/reverse-regex
var regex = '^[a-z0-9_-]{3,16}$';
var rgrep = new ReverseRegex(regex);
var result = rgrep.resultString;
no flags are supported yet
strict regular expressions can give you more relevant strings
of course there might be bugs, feel free to improve
MIT