File: codehilite.txt

package info (click to toggle)
python-markdown 2.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,804 kB
  • ctags: 839
  • sloc: python: 4,668; makefile: 54; sh: 12
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