MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / next

Method next

www/js/_hyperscript.js:2037–2042  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2035 this.str = str;
2036 }
2037 next() {
2038 const match = this.re.exec(this.str);
2039 if (match === null) return { done: true };
2040 if (match[0].length === 0) this.re.lastIndex++;
2041 return { value: match };
2042 }
2043 };
2044 var RegExpIterable = class {
2045 constructor(re, flags, str) {

Callers 1

resolveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected