code: def non_quoted_string_regex(self, strict=True):
          
          old_regex = self.regex
  
          regex_alternative = r'([{}]+)'.format(re.escape(self.charset))
          if strict:
              regex_alternative = r'^' + regex_alternative + r'$'
  
          self.regex = re.compile(regex_alternative)
  
          try:
              yield
          finally:
              self.regex = old_regex
docs: For certain file formats, strings need not necessarily follow the
          normal convention of being denoted by single or double quotes. In these
          cases, we modify the regex accordingly.
  
          Public, because detect_secrets.core.audit needs to reference it.
  
          :type strict: bool
          :param strict: if True, the regex will match the entire string.