code: def regexp_fn(self, x, y):
      try:
          pattern = re.compile(y)
      except:
          raise ValueError("Badly formatted regular expression: %s" % y)
      return pattern.search(x) is not None
  
imports: import re
  from ._filter_predicate import FilterPredicate
label_desc: Use image node_id 2 for calling the RegexpFilterPredicate obj's underlying member method code with example usage: obj.regexp_fn(x, y) and returns: unknown