1.1 --- a/moinformat/parsers/common.py Fri Jul 12 22:07:17 2019 +0200
1.2 +++ b/moinformat/parsers/common.py Thu Oct 24 18:50:53 2019 +0200
1.3 @@ -19,7 +19,6 @@
1.4 this program. If not, see <http://www.gnu.org/licenses/>.
1.5 """
1.6
1.7 -from collections import defaultdict
1.8 from moinformat.tree.moin import Block, Region, Text
1.9 import re
1.10
1.11 @@ -315,7 +314,8 @@
1.12 or None if no match was found and 'remaining' is given as a false value.
1.13 """
1.14
1.15 - return self.items.read_until(self.get_expression(pattern_names))
1.16 + return self.items.read_until(self.get_expression(pattern_names),
1.17 + remaining)
1.18
1.19 def match_group(self, group=None):
1.20