From 1850957539a9513ce0587fb2880131ca251a56ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 7 Jun 2015 16:53:13 +0200 Subject: [PATCH] [FIX] mis_builder: fix regexp in legacy mode for account codes containing letters --- mis_builder/models/aep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mis_builder/models/aep.py b/mis_builder/models/aep.py index cd491f74..aad6958d 100644 --- a/mis_builder/models/aep.py +++ b/mis_builder/models/aep.py @@ -79,7 +79,7 @@ class AccountingExpressionProcessor(object): ACC_RE = re.compile(r"(?P\bbal|\bcrd|\bdeb)" r"(?P[pise])?" - r"(?P_[0-9]+|\[.*?\])" + r"(?P_[a-zA-Z0-9]+|\[.*?\])" r"(?P\[.*?\])?") def __init__(self, env):