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