code: def runTest(self):
      document_assembler = (
          DocumentAssembler()
          .setInputCol("text")
          .setOutputCol("document")
      )
      regex_matcher = (
          RegexMatcher()
          .setInputCols(["document"])
          .setStrategy("MATCH_ALL")
          .setExternalRules(
              path="file:///"
              + os.getcwd()
              + "/../src/test/resources/regex-matcher/rules.txt",
              delimiter=",",
          )
          .setOutputCol("regex")
      )
      assembled = document_assembler.transform(self.data)
      regex_matcher.fit(assembled).transform(assembled).show()
  
file_path: spark-nlp/python/test/annotator/matcher/regex_matcher_test.py
imports: import os
  import unittest
  import pytest
  from test.util import SparkContextForTest
  from sparknlp.annotator import *
  from sparknlp.base import *
label_desc: Use image node_id 2 for calling the RegexMatcherTestSpec obj's underlying member method code with example usage: obj.runTest() without return types