def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def anypats(self):
        """None of .always(), .isexact(), and .prefix() is true --
        optimizations will be difficult."""
        return not self.always() and not self.isexact() and not self.prefix()