Line 243 attempts to access non-imported regex

This was a result from existing unittests.
Merge pull request #98 from battlemidget/patch-1

Line 243 attempts to access non-imported regex