class_docstr: A setting with a regexp button on the side
      
code: def test_valid(self, pipeline):
      try:
          # Convert Matlab to Python
          pattern = re.sub(
              "(\\(\\?)([<][^)>]+?[>])", "\\1P\\2", self.value
          )
          re.search("(|(%s))" % pattern, "")
      except re.error as v:
          raise ValidationError("Invalid regexp: %s" % v, self)
  
imports: import re
  from ._setting import Setting
  from ._validation_error import ValidationError
label_desc: Use image node_id 2 for calling the RegexpText obj's underlying member method code with example usage: obj.test_valid(pipeline) without return types