Update category regex in changelog script

This commit is contained in:
Alexander Kuzmenkov 2019-11-05 18:41:00 +03:00
parent 0df4a0208f
commit a8731a9597

View File

@ -230,7 +230,7 @@ def parse_one_pull_request(item):
if lines:
for i in range(len(lines) - 1):
if re.match(r'(?i)^\**Category', lines[i]):
if re.match(r'(?i)category.*:$', lines[i]):
cat_pos = i
if re.match(r'(?i)^\**\s*(Short description|Change\s*log entry)', lines[i]):
short_descr_pos = i