Change regex for gen listse.
Fixes #1