code: func (s *sqlStatement) MatchPatterns(str string) bool {
  	for _, pattern := range s.patterns {
  		if !pattern.MatchString(str) {
  			return false
  		}
  	}
  	return true
  }
docs: // See if the string matches the patterns for the statement.