You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: replace regex with str.startswith and add raw-file URL mapping
Per review suggestion from hugovk:
- Replace re.match with str.startswith for clarity (re.match anchors start
but not end, which can be confusing)
- Also handle hg.python.org/cpython/raw-file/ URLs, mapping them to
raw.githubusercontent.com (e.g. Python 2.7.3 release notes use this form)
0 commit comments