MCPcopy Index your code
hub / github.com/yuin/gopher-lua / CaptureLength

Method CaptureLength

pm/pm.go:72–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70func (st *MatchData) restoreCapture(s int, pos uint32) { st.captures[s] = pos }
71
72func (st *MatchData) CaptureLength() int { return len(st.captures) }
73
74func (st *MatchData) IsPosCapture(idx int) bool { return (st.captures[idx] & 1) == 1 }
75

Callers 8

recursiveVMFunction · 0.95
strFindFunction · 0.80
checkCaptureIndexFunction · 0.80
capturedStringFunction · 0.80
strGsubTableFunction · 0.80
strGsubFuncFunction · 0.80
strGmatchIterFunction · 0.80
strMatchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected