(regex string, s string, n int)
| 66 | } |
| 67 | |
| 68 | func regexSplit(regex string, s string, n int) []string { |
| 69 | r := regexp.MustCompile(regex) |
| 70 | return r.Split(s, n) |
| 71 | } |
| 72 | |
| 73 | func mustRegexSplit(regex string, s string, n int) ([]string, error) { |
| 74 | r, err := regexp.Compile(regex) |
no outgoing calls
searching dependent graphs…