gogrex is a library that turns any regular expression into a graph available through a simple API.
Parse(" name, alias?, (telephone, email)+ " )
results in this graph:
The code is available at http://www.gopack.me . You can use grex just by adding it to your project
gpk r+ ericaro.net/gogrex 1.0.0
the code is licensed under Apache License 2.0