1
2Some text
3
4    #!python
5    def __init__ (self, pattern) :
6        self.pattern = pattern
7        self.compiled_re = re.compile("^(.*)%s(.*)$" % pattern, re.DOTALL)
8
9    def getCompiledRegExp (self) :
10        return self.compiled_re
11
12More text