code: def run_match(self, string_to_match, expected_output):
      regex = re.compile(STATEMENT)
      matched_str = regex.match(string_to_match)
      if matched_str:
          filtered_groups = list(filter(None, matched_str.groups()))
          if filtered_groups:
              values = [
                  v.strip() for v in filtered_groups[0].split(",")
              ]
              self.assertEqual(values, expected_output)
      else:
          self.assertEqual(expected_output, False)
  
file_path: NiftyNet/tests/user_parameters_regex_test.py
imports: from __future__ import unicode_literals
  import re
  import tensorflow
  from niftynet.utilities.user_parameters_regex import STATEMENT
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 1 for calling the UserParameterRegexTest obj's underlying member method code with example usage: obj.run_match(string_to_match, expected_output) without return types