Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
74
func
(st *MatchData) IsPosCapture(idx int) bool {
return
(st.captures[idx] & 1) == 1 }
75
76
func
(st *MatchData) Capture(idx int) int {
return
int(st.captures[idx] >> 1) }
77
78
/* }}} */
79
Callers
8
recursiveVM
Function · 0.95
strFind
Function · 0.80
capturedString
Function · 0.80
strGsubStr
Function · 0.80
strGsubTable
Function · 0.80
strGsubFunc
Function · 0.80
strGmatchIter
Function · 0.80
strMatch
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected