aboutsummaryrefslogtreecommitdiffstats
path: root/python/quote_parsing
diff options
context:
space:
mode:
Diffstat (limited to 'python/quote_parsing')
-rw-r--r--python/quote_parsing/parse_emails.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/quote_parsing/parse_emails.py b/python/quote_parsing/parse_emails.py
index edb17a93..3e51b551 100644
--- a/python/quote_parsing/parse_emails.py
+++ b/python/quote_parsing/parse_emails.py
@@ -795,7 +795,7 @@ def parse_gs_eu(fh, index_desc):
# subject_baml = re.compile(r"(?:Fwd:){0,2}(?:BAML )?(\D{2})(\d{1,2})\s")
regex_dict = {
- re.compile(r"(?:Fwd:){0,2}(?:BofA|BAML )?(\D{2})(\d{1,2}).*Ref[^\d]*([\d.]+)"): (
+ re.compile(r"(?:Fwd:){0,2}(?:BofA |BAML )?(\D{2})(\d{1,2}).*Ref[^\d]*([\d.]+)"): (
"BAML",
parse_baml,
),
@@ -810,7 +810,7 @@ regex_dict = {
"NOM",
parse_nom,
),
- re.compile(r"(?:FW: |Fwd: )?GS (IG|HY)(\d{2}) 5y.*- Ref [^\d]*([\d.]+)"): (
+ re.compile(r"(?:FW:|Fwd:)? ?GS (IG|HY)(\d{2}) 5y.*- Ref [^\d]*([\d.]+)"): (
"GS",
parse_gs,
),