diff options
Diffstat (limited to 'meta/lib/patchtest/patchtest_patterns.py')
-rw-r--r-- | meta/lib/patchtest/patchtest_patterns.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/patchtest/patchtest_patterns.py b/meta/lib/patchtest/patchtest_patterns.py index 50637cf499..655ecfd049 100644 --- a/meta/lib/patchtest/patchtest_patterns.py +++ b/meta/lib/patchtest/patchtest_patterns.py | |||
@@ -59,7 +59,7 @@ mbox_bugzilla_validation = pyparsing.Regex('\[(\s?YOCTO\s?#\s?(\d+)\s?,?)+\]') | |||
59 | mbox_revert_shortlog_regex = pyparsing.Regex('Revert\s+".*"') | 59 | mbox_revert_shortlog_regex = pyparsing.Regex('Revert\s+".*"') |
60 | mbox_shortlog_maxlength = 90 | 60 | mbox_shortlog_maxlength = 90 |
61 | # based on https://stackoverflow.com/questions/30281026/regex-parsing-github-usernames-javascript | 61 | # based on https://stackoverflow.com/questions/30281026/regex-parsing-github-usernames-javascript |
62 | mbox_github_username = pyparsing.Regex('\B@([a-z0-9](?:-(?=[a-z0-9])|[a-z0-9]){0,38}(?<=[a-z0-9]))') | 62 | mbox_github_username = pyparsing.Regex('\B(?<!\${)@([a-z0-9](?:-(?=[a-z0-9])|[a-z0-9]){0,38}(?<=[a-z0-9]))') |
63 | 63 | ||
64 | # patch | 64 | # patch |
65 | 65 | ||