code: def testGlobToRegex(self):
      glob_pattern = "a(b)c"
      self.assertEqual(1, re.compile(glob_pattern).groups)
      regex_pattern = utils._glob_to_regex(
          glob_pattern
      )  # pylint: disable=protected-access
      self.assertEqual(0, re.compile(regex_pattern).groups)
      self.assertEqual(
          glob_pattern, re.match(regex_pattern, glob_pattern).group()
      )
  
imports: import os
  import re
  import tensorflow
  from tfx.components.example_gen import utils
  from tfx.dsl.io import fileio
  from tfx.orchestration import data_types
  from tfx.proto import example_gen_pb2
  from tfx.proto import range_config_pb2
  from tfx.utils import io_utils
  from tfx.utils import json_utils
label_desc: Use image node_id 7 for calling the UtilsTest obj's underlying member method code with example usage: obj.testGlobToRegex() without return types