fix my scoped regexes in classes

Regexes tried to install itself into the class, and then exploded by getting a Cursor instead
of the type of the class.