code: def testRegexSplitWithInvalidRegex(self):
      with self.assertRaisesRegex(
          errors_impl.InvalidArgumentError, "Invalid pattern.*"
      ):
          result = regex_split_ops.regex_split(
              "<img_1><img_2><img_3>", ">(?=<)"
          )
          self.evaluate(result)
  
imports: from absl.testing import parameterized
  import tensorflow
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import string_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow_text.python.ops import regex_split_ops
label_desc: Use image node_id 2 for calling the RegexSplitOpsTest obj's underlying member method code with example usage: obj.testRegexSplitWithInvalidRegex() without return types