From fd7fb8f271bc2deeb6e08229c0b5bef40619f49d Mon Sep 17 00:00:00 2001
From: Henning Glawe <glaweh@debian.org>
Date: Fri, 19 Aug 2016 22:54:00 +0200
Subject: [PATCH] rename 'group' to 'matcherGroup' in match telemetry data

---
 common/python/nomadcore/simple_parser.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/python/nomadcore/simple_parser.py b/common/python/nomadcore/simple_parser.py
index cad9851..bba1546 100644
--- a/common/python/nomadcore/simple_parser.py
+++ b/common/python/nomadcore/simple_parser.py
@@ -706,7 +706,7 @@ class CompiledMatcher(object):
             # overall span of match, and spans of group captures
             'span': [],
             # capture group names
-            'group': [],
+            'matcherGroup': [],
         }
         if match:
             span = match.span()
@@ -716,7 +716,7 @@ class CompiledMatcher(object):
                 result['match'] = 1 # partial match
             if self.matcher.coverageIgnore: # matcher is local coverageIgnore
                 result['coverageIgnore'] = 1
-            result['group'] = self.groupname[targetStartEnd]
+            result['matcherGroup'] = self.groupname[targetStartEnd]
             # Forward compatibility with 'regex' or 're2', which support
             # multiple captures per group:
             #   span: list of lists of tuples: [groups, captures, 2]
-- 
GitLab