diff options
Diffstat (limited to 'meta/lib/patchtest/patchtest_patterns.py')
-rw-r--r-- | meta/lib/patchtest/patchtest_patterns.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/patchtest/patchtest_patterns.py b/meta/lib/patchtest/patchtest_patterns.py index 8c2e192fc9..39c5a65d91 100644 --- a/meta/lib/patchtest/patchtest_patterns.py +++ b/meta/lib/patchtest/patchtest_patterns.py | |||
@@ -58,6 +58,8 @@ mbox_bugzilla = pyparsing.Regex('\[\s?YOCTO.*\]') | |||
58 | mbox_bugzilla_validation = pyparsing.Regex('\[(\s?YOCTO\s?#\s?(\d+)\s?,?)+\]') | 58 | 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 | ||
62 | mbox_github_username = pyparsing.Regex('\B@([a-z0-9](?:-(?=[a-z0-9])|[a-z0-9]){0,38}(?<=[a-z0-9]))') | ||
61 | 63 | ||
62 | # patch | 64 | # patch |
63 | 65 | ||