libfsm
libfsm copied to clipboard
re's go generator should give more control over package and function names
While the -e option does allow putting a prefix on the package name of the generated go, it is a bit awkward to require each matcher to be in its own package.
An option to provide a prefix for the Match function name would be useful, as would one to override the generated package name entirely.