(input []string)
| 95 | } |
| 96 | |
| 97 | func stripEmptyGroups(input []string) []string { |
| 98 | result := []string{} |
| 99 | for _, t := range input { |
| 100 | if t != "" { |
| 101 | result = append(result, t) |
| 102 | } |
| 103 | } |
| 104 | return result |
| 105 | } |
| 106 | |
| 107 | func parseInstruction(line string) (Instruction, error) { |
| 108 | tokens := INSTRUCTION.FindStringSubmatch(line) |