~trufas/ledgeroni

3c2756cbecd7154f1d07a4c190466d47999f0e4e — Rafael Castillo 1 year, 9 months ago 7a9e4ad
Make query regexes case insensitive
1 files changed, 1 insertions(+), 1 deletions(-)

M ledgeroni/expression.py
M ledgeroni/expression.py => ledgeroni/expression.py +1 -1
@@ 82,7 82,7 @@ def build_expr_from_postfix(postfix_expr):
                raise ValueError
            operand_stack.append(PayeeQuery(a))
        else:
            operand = RegexQuery(re.compile(token))
            operand = RegexQuery(re.compile(token, re.IGNORECASE))
            operand_stack.append(operand)

    if len(operand_stack) != 1: