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

Method next

tools/common/_hyperscript.iife.js:2023–2028  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2021 this.str = str;
2022 }
2023 next() {
2024 const match = this.re.exec(this.str);
2025 if (match === null) return { done: true };
2026 if (match[0].length === 0) this.re.lastIndex++;
2027 return { value: match };
2028 }
2029 };
2030 var RegExpIterable = class {
2031 constructor(re, flags, str) {

Callers 1

resolveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected