code: def test_reserved_tokens_with_regex_chars(self):
      text = r"hello worldba\)r bar foozoo zoo FOO|<EOS>"
      tokens = [
          "hello",
          " ",
          "world",
          r"ba\)r",
          " ",
          "bar",
          " ",
          "foozoo",
          " ",
          "zoo",
          " ",
          "FOO|",
          "<EOS>",
      ]
      tokenizer = text_encoder.Tokenizer(
          alphanum_only=False,
          reserved_tokens=["<EOS>", "FOO|", r"ba\)r"],
      )
      self.assertEqual(tokens, tokenizer.tokenize(text))
      self.assertEqual(text, tokenizer.join(tokenizer.tokenize(text)))
  
imports: from __future__ import unicode_literals
  import os
  from absl.testing import parameterized
  import numpy
  from tensorflow_datasets import testing
  from tensorflow_datasets.core.deprecated.text import text_encoder
label_desc: Use image node_id 5 for calling the TokenizeTest obj's underlying member method code with example usage: obj.test_reserved_tokens_with_regex_chars() without return types