Source

bugs.python.org / extensions / local_replace.py

Diff from to

extensions/local_replace.py

 
 
 # if the issue number is too big the db will explode -- limit it to 7 digits
-issue_re = re.compile(r'(?P<text>(\#|\b(?<!/)issue)\s*(?P<id>1?\d{1,6}))\b', re.I)
+issue_re = re.compile(r'(?P<text>(\#|\b(?<![-/_])issue)\s*(?P<id>1?\d{1,6}))\b', re.I)
 
 
 class PyDevStringHTMLProperty(StringHTMLProperty):