code: def toggle_regex(self):
      self.match_flags["regex"] = not self.match_flags["regex"]
      if self.match_flags["whole word"]:
          self.match_flags["whole word"] = False
          self.match_exactly_button.setChecked(False)
  
      if self.find_textbox.text():
          self.query(self.find_textbox.text())
  
imports: import re
  import time
  import pkg_resources
  from PyQt5 import QtCore, QtGui, QtWidgets
  from PyQt5.QtCore import Qt
label_desc: Use image node_id 9 for calling the FindToolbar obj's underlying member method code with example usage: obj.toggle_regex() without return types