File: link_patterns_edge_cases.opts

package info (click to toggle)
python-markdown2 2.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,492 kB
  • sloc: python: 6,201; perl: 1,493; php: 865; makefile: 37
file content (6 lines) | stat: -rw-r--r-- 200 bytes parent folder | download
1
2
3
4
5
6
{"extras": ["link-patterns"],
 "link_patterns": [
    (re.compile(r"Blah\s+(\d+)", re.I), r"http://foo.com/blah_blah_blah/\1"),
    (re.compile("#([1-9][0-9]*)"), r"http://localhost/issue/\1"),
 ],
}