code: def test_get_tag_matcher() -> None:
      assert re.match(
          # simulate shell character escaping
          bytes(_get_tag_matcher("tag"), "utf-8").decode(
              "unicode_escape"
          ),
          "tag",
      )
      assert not re.match(
          # simulate shell character escaping
          bytes(_get_tag_matcher("tag"), "utf-8").decode(
              "unicode_escape"
          ),
          "atagb",
      )
  
file_path: ray/ci/ray_ci/test_tester.py
imports: import os
  import re
  import sys
  from tempfile import TemporaryDirectory
  from unittest import mock
  import pytest
  from ci.ray_ci.linux_tester_container import LinuxTesterContainer
  from ci.ray_ci.windows_tester_container import WindowsTesterContainer
  from ci.ray_ci.tester import _add_default_except_tags, _get_container, _get_all_test_query, _get_test_targets, _get_flaky_test_targets, _get_tag_matcher
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_tag_matcher() without return types