docs: def findall(data):
      """
      Worker that finds all occurrences of a given string (or regex)
      in a given text.
  
      :param data: Request data dict::
          {
              'string': string to search in text
              'sub': input text
              'regex': True to consider string as a regular expression
              'whole_word': True to match whole words only.
              'case_sensitive': True to match case, False to ignore case
          }
      :return: list of occurrence positions in text
      """
      return list(findalliter(
          data['string'], data['sub'], regex=data['regex'],
          whole_word=data['whole_word'], case_sensitive=data['case_sensitive']))