make regexp var package-level, compiled once. fixes #11