Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NaturalIntelligence/fast-xml-parser
/ getPositionFromMatch
Function
getPositionFromMatch
src/validator.js:516–518 ·
view source on GitHub ↗
(match)
Source
from the content-addressed store, hash-verified
514
515
//this function returns the position of the first character of match within attrStr
516
function
getPositionFromMatch(match) {
517
return
match.startIndex + match[1].length;
518
}
Callers
1
validateAttributeString
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected