File: link_patterns_hash_matching_issue287.opts

package info (click to toggle)
python-markdown2 2.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,492 kB
  • sloc: python: 6,201; perl: 1,493; php: 865; makefile: 37
file content (7 lines) | stat: -rw-r--r-- 291 bytes parent folder | download
1
2
3
4
5
6
7
{"extras": ["link-patterns"],
 "link_patterns": [
    (re.compile(r"#(\d+)", re.I), r"https://github.com/pyfa-org/Pyfa/issues/\1"),
    (re.compile(r"@(\w+)", re.I), r"https://github.com/\1"),
    (re.compile("([0-9a-f]{6,40})", re.I), r"https://github.com/pyfa-org/Pyfa/commit/\1")
    ]
}