MCPcopy Index your code
hub / github.com/dataease/SQLBot / lookahead

Function lookahead

frontend/public/swagger-ui-bundle.js:7165–7167  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

7163 return s ? ('string' == typeof s ? s : s.source) : null
7164 }
7165 function lookahead(s) {
7166 return concat('(?=', s, ')')
7167 }
7168 function concat(...s) {
7169 return s.map((s) => source(s)).join('')
7170 }

Callers 1

Calls 1

concatFunction · 0.85

Tested by

no test coverage detected