(source string)
| 495 | } |
| 496 | |
| 497 | func tokenListFromString(source string) *tokenList { |
| 498 | return newTokenList(strings.Fields(source), errorUser) |
| 499 | } |
| 500 | |
| 501 | func tokenListFromPattern(source string) *tokenList { |
| 502 | p := regexp.MustCompile(`([\[\]\(\)\|]|\.\.\.)`) |