public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4780] gcc-changelog: support digits in PR's component in subject
@ 2022-12-19 13:56 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-12-19 13:56 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a9f6a2b7f579b684037eaddab97db35096c10c3b
commit r13-4780-ga9f6a2b7f579b684037eaddab97db35096c10c3b
Author: Martin Liska <mliska@suse.cz>
Date: Mon Dec 19 14:55:39 2022 +0100
gcc-changelog: support digits in PR's component in subject
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Support digits in PR's
component in subject.
Diff:
---
contrib/gcc-changelog/git_commit.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py
index 7fde02cba85..b73e587eb98 100755
--- a/contrib/gcc-changelog/git_commit.py
+++ b/contrib/gcc-changelog/git_commit.py
@@ -163,7 +163,7 @@ author_line_regex = \
re.compile(r'^(?P<datetime>\d{4}-\d{2}-\d{2})\ {2}(?P<name>.* <.*>)')
additional_author_regex = re.compile(r'^\t(?P<spaces>\ *)?(?P<name>.* <.*>)')
changelog_regex = re.compile(r'^(?:[fF]or +)?([a-z0-9+-/]*)ChangeLog:?')
-subject_pr_regex = re.compile(r'(^|\W)PR\s+(?P<component>[a-zA-Z+-]+)/(?P<pr>\d{4,7})')
+subject_pr_regex = re.compile(r'(^|\W)PR\s+(?P<component>[a-zA-Z0-9+-]+)/(?P<pr>\d{4,7})')
subject_pr2_regex = re.compile(r'[(\[]PR\s*(?P<pr>\d{4,7})[)\]]')
pr_regex = re.compile(r'\tPR (?P<component>[a-z0-9+-]+\/)?(?P<pr>[0-9]+)$')
dr_regex = re.compile(r'\tDR ([0-9]+)$')
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-19 13:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-19 13:56 [gcc r13-4780] gcc-changelog: support digits in PR's component in subject Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).