Uncomment jira ticket pattern removal

This commit is contained in:
Álison Fernandes 2025-11-17 21:52:03 +00:00
parent 65f5abe4c5
commit a050e9a0e5
No known key found for this signature in database
GPG Key ID: B8CE98903DFC87BC

View File

@ -28,9 +28,9 @@ def process_line(line: str) -> str:
original = line
# Remove Jira ticket patterns:
# line = re.sub(r'\[[A-Z]+-\d+\]', '', line) # [ABC-123] -> ""
# line = re.sub(r'[A-Z]+-\d+:\s', '', line) # ABC-123: -> ""
# line = re.sub(r'[A-Z]+-\d+\s-\s', '', line) # ABC-123 - -> ""
line = re.sub(r'\[[A-Z]+-\d+\]', '', line) # [ABC-123] -> ""
line = re.sub(r'[A-Z]+-\d+:\s', '', line) # ABC-123: -> ""
line = re.sub(r'[A-Z]+-\d+\s-\s', '', line) # ABC-123 - -> ""
# Remove keywords and their variations
patterns = [