Expand a sequence pattern to corresponding sequences
Patterns can contain any number of
- character classes specified by [alternatives].
Example: `a[bc]d' gives `abd' and `acd'.
- option lists specified by (dog|cat)
Example: `b(ana|a)na' gives `banana' and `bana'
Sequence pattern
Source of python(both commandline, module) version
Copyleft 2009, Tobias Abenius