MCPcopy Create free account
hub / github.com/devflowinc/trieve / match

Method match

pdf2md/server/static/viewer.mjs:2555–2563  ·  view source on GitHub ↗
(re)

Source from the content-addressed store, hash-verified

2553 return false;
2554 }
2555 function match(re) {
2556 re.lastIndex = cursor;
2557 let result = re.exec(source);
2558 if (result === null) {
2559 throw new SyntaxError(`Expected ${re.toString()}`);
2560 }
2561 cursor = re.lastIndex;
2562 return result;
2563 }
2564 function match1(re) {
2565 return match(re)[1];
2566 }

Callers 14

#isEntireWordMethod · 0.45
setHashMethod · 0.45
#walkMethod · 0.45
TlFunction · 0.45
dtFunction · 0.45
OeFunction · 0.45
AiFunction · 0.45
parseFunction · 0.45
$cFunction · 0.45
NFunction · 0.45
_Function · 0.45
__deserializeMethod · 0.45

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected