fix(parser): allow upper case leters in matchers name

ref: #3 #1
This commit is contained in:
2025-07-01 20:53:04 +09:30
parent 598cd7db5c
commit 55b7dc396f

View File

@ -169,7 +169,7 @@ NFC_PROBLEM_MATCHER = False
pull_request: int = None
matcher = re.compile(r'NFC_PROBLEM_MATCHER=(?P<pull_number>\d+)')
matcher_type = re.compile(r'NFC_PROBLEM_MATCHER_TYPE=(?P<type>[a-z_-]+)')
matcher_type = re.compile(r'NFC_PROBLEM_MATCHER_TYPE=(?P<type>[a-zA-Z_-]+)')
regex_type = 'default'
pattern = re.compile( regex[regex_type] )