(data, pattern []byte)
| 61 | return results, nil, nil |
| 62 | } |
| 63 | func MatchPattern(data, pattern []byte) bool { |
| 64 | for i := range pattern { |
| 65 | if data[i] != pattern[i] { |
| 66 | return false |
| 67 | } |
| 68 | } |
| 69 | return true |
| 70 | } |
| 71 | func ExtractBetween(value, startDelim, endDelim string) string { |
| 72 | start := strings.Index(value, startDelim) |
| 73 | if start == -1 { |