File: codehilite.txt

package info (click to toggle)
python-markdown 3.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,168 kB
  • sloc: python: 12,708; makefile: 66; sh: 7
file content (12 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12

Some text

    #!python
    def __init__ (self, pattern) :
        self.pattern = pattern
        self.compiled_re = re.compile("^(.*)%s(.*)$" % pattern, re.DOTALL)

    def getCompiledRegExp (self) :
        return self.compiled_re

More text