From 11c4d4713ee1f85a8ad893067c3312e60307cffe Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 10 Jan 2018 14:53:20 +0100 Subject: regex: always include operator in BinOp/Compare patterns --- regex/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex/__init__.py b/regex/__init__.py index 7232349..bf96587 100644 --- a/regex/__init__.py +++ b/regex/__init__.py @@ -79,7 +79,7 @@ def make_pattern(tree, nodes): children = [] if subpats[0]: children += [subpats[0]] - children += [tree[1]] + children += [tree[1]] if subpats[2]: children += [subpats[2]] pat = Tree(label, children) -- cgit v1.2.1