Skip to content
Commit 71c8205a authored by Lucas Ficheux's avatar Lucas Ficheux Committed by hydrargyrum
Browse files

[cragr] Stricter matching patterns for rdates

Somme patterns for matching rdates from transactions labels
weren't strict enough, for exemple :

^(?P<category>PRELEVEMENT) (?P<text>.*) (?P<dd>\d{2})\s(?P<mm>\d{2})\s(?P<yy>\d{4}) .*
matched PRELEVEMENT TEXT TEXT (YYYY MM DD YYYY MM DD)

^(?P<category>PRELEVEMENT) (?P<text>.*) (?P<dd>\d{2})-(?P<mm>\d{2})$
matched PRELEVEMENT TEXT TEXT MM-YY

Both were made stricter as to avoid these unwanted matches that would
crash the date parser.
parent a0021716
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment