Fix the open in functions bug.

Make it so regexps don't actually require
opens to use them.