docstr: Gets row numbers of matches.
  
  Args:
      chunk: Type pd.Series
docstr_tok: ["Gets","row","numbers","of","matches",".","Args",":","chunk",":","Type","pd.Series"]
code: def get_matches(self, chunk):
      """
      Gets row numbers of matches.
  
      Args:
          chunk: Type pd.Series
      """
      if self.match_flags["whole word"]:
          if self.match_flags["case"]:
              rows_with_match = chunk[chunk.astype(str) == self.text]
          else:
              rows_with_match = chunk[
                  chunk.astype(str).str.lower() == self.text.lower()
              ]
      else:
          pd_match_flags = self.match_flags.copy()
          pd_match_flags.pop("whole word")
          check_for_match = chunk.astype(str).str.contains(
              self.text, **pd_match_flags
          )
          rows_with_match = chunk[check_for_match]
  
      return rows_with_match
  
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 3 for calling the FindThread obj's underlying member method code with example usage: obj.get_matches(chunk) and returns: rows_with_match