What's the syntax for vanity gen regexes? That is, do I have to escape + and | (like in sed) or not (like in perl)? What are my grouping characters, and do I have to escape them? Finally, can I put my regex in a file? Do I have to quote it?
Imagine I want this language:1(a|b|c)+/, ie: "1a,1aa,1aaa,...,1b,1bb,1bbb,...,1c,1cc,1ccc,...,1ab,1aab,...1abcbca,...".
I'm not sure about +, but you'll need to escape | (vertical pipe) as your shell will interpret it as a directive to hook up vanitygen's standard out to whatever follows the pipe. You could always try quoting it.
Edit: Looks like quoting works, but you'll need to use the start-of-line anchor:
vanitygen -r "^1(a|b|c)+"
or
vanitygen -r "^1(a|b|c){1,3}"