Skip to content

Commit 33ae76e

Browse files
committed
fix regex
1 parent cb04947 commit 33ae76e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/blurb/blurb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ def _extract_issue_number(issue):
925925
del _section_pattern, _section
926926

927927
# the following statements will raise KeyError if the names are invalid
928-
_section_special_patterns['C API'].add(re.compile(r'^((?<=c)[_\- /])?api?$', re.I))
928+
_section_special_patterns['C API'].add(re.compile(r'^((?<=c)[_\- /])?api$', re.I))
929929
_section_special_patterns['Core and Builtins'].add(re.compile('^builtins?$', re.I))
930930
_section_special_patterns['Tools/Demos'].add(re.compile('^dem(?:o|os)?$', re.I))
931931

0 commit comments

Comments
 (0)