code: def testGlobal(self, op):
      values = ["ababababab", "abcabcabc", ""]
      with self.cached_session():
          input_vector = constant_op.constant(values, dtypes.string)
          stripped = op(input_vector, "ab", "abc", True)
          self.assertAllEqual(
              [b"abcabcabcabcabc", b"abccabccabcc", b""], stripped
          )
  
imports: from absl.testing import parameterized
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gen_string_ops
  from tensorflow.python.ops import string_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 6 for calling the RegexReplaceOpVariantsTest obj's underlying member method code with example usage: obj.testGlobal(op) without return types