moinformat/parsers/common.py | raw changeset files shortlog | single-regexp-searching |
1.1 --- a/moinformat/parsers/common.py Mon Jul 16 19:20:37 2018 +0200 1.2 +++ b/moinformat/parsers/common.py Tue Jul 17 19:31:41 2018 +0200 1.3 @@ -452,7 +452,7 @@ 1.4 1.5 # Obtain any feature. 1.6 1.7 - feature = self.match_group(None) 1.8 + feature = self.match_group("feature") or self.match_group() 1.9 handler = self.handlers.get(self.matching_pattern()) 1.10 1.11 # Handle each feature or add text to the region.