MCPcopy 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
516function getPositionFromMatch(match) {
517 return match.startIndex + match[1].length;
518}

Callers 1

validateAttributeStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected