Change regex for middle of gen list.
Fixes #1