(text string)
| 27 | } |
| 28 | |
| 29 | func hasSymbol(text string) bool { |
| 30 | re := regexp.MustCompile(`[-!@#$%^&*()+]`) |
| 31 | return re.MatchString(text) |
| 32 | } |
| 33 | |
| 34 | func IsIsogram(text string, order IsogramOrder) (bool, error) { |
| 35 | if order < First || order > Third { |