(a, b [][]byte, autoJunk bool, isJunk func([]byte) bool)
| 190 | } |
| 191 | |
| 192 | func NewMatcherWithJunk(a, b [][]byte, autoJunk bool, |
| 193 | isJunk func([]byte) bool) *SequenceMatcher { |
| 194 | |
| 195 | m := SequenceMatcher{IsJunk: isJunk, autoJunk: autoJunk} |
| 196 | m.SetSeqs(a, b) |
| 197 | return &m |
| 198 | } |
| 199 | |
| 200 | // SetSeqs sets two sequences to be compared. |
| 201 | func (m *SequenceMatcher) SetSeqs(a, b [][]byte) { |