MCPcopy Create free account
hub / github.com/yuin/gopher-lua / Capture

Method Capture

pm/pm.go:76–76  ·  view source on GitHub ↗
(idx int)

Source from the content-addressed store, hash-verified

74func (st *MatchData) IsPosCapture(idx int) bool { return (st.captures[idx] & 1) == 1 }
75
76func (st *MatchData) Capture(idx int) int { return int(st.captures[idx] >> 1) }
77
78/* }}} */
79

Callers 8

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

Calls

no outgoing calls

Tested by

no test coverage detected