MCPcopy Index your code
hub / github.com/expr-lang/expr / NewMatcherWithJunk

Function NewMatcherWithJunk

internal/difflib/difflib.go:106–112  ·  view source on GitHub ↗
(a, b []string, autoJunk bool,
	isJunk func(string) bool)

Source from the content-addressed store, hash-verified

104}
105
106func NewMatcherWithJunk(a, b []string, autoJunk bool,
107 isJunk func(string) bool) *SequenceMatcher {
108
109 m := SequenceMatcher{IsJunk: isJunk, autoJunk: autoJunk}
110 m.SetSeqs(a, b)
111 return &m
112}
113
114// Set two sequences to be compared.
115func (m *SequenceMatcher) SetSeqs(a, b []string) {

Callers 1

TestWithAsciiBJunkFunction · 0.85

Calls 1

SetSeqsMethod · 0.95

Tested by 1

TestWithAsciiBJunkFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…