Removed unused function

implementPCREMatchingRules
Aadhavan Srinivasan 4 weeks ago
parent d172a58258
commit 76e0170cb9

@ -28,17 +28,6 @@ func newMatch(size int) Match {
return toRet
}
// Returns the number of valid groups in the match
func (m Match) numValidGroups() int {
numValid := 0
for _, g := range m {
if g.StartIdx >= 0 && g.EndIdx >= 0 {
numValid++
}
}
return numValid
}
// Returns a string containing the indices of all (valid) groups in the match
func (m Match) String() string {
var toRet string

Loading…
Cancel
Save