docs: def lineMatching(regexStr, lines):
      """ Searches through the specified list of strings and returns the regular expression 
      match for the first line that matches the specified regex string, or None if no match was found
  
      Note: if you have a pre-compiled regex pattern, use lineMatchingPattern() instead
  
      :type regexStr: Regular expression string to use
      :type lines: List of lines to search
  
      :return: the regular expression match for the first line that matches the specified regex, or None if no match was found
      :rtype: re.Match
      """
      regex = re.compile(regexStr)
      for line in lines:
          m = regex.match(line)
          if m:
              return m
      else:
          return None