Worked on #3 where I believe the regexp part is now complete but it needs testing

This commit is contained in:
2026-05-25 02:29:57 +02:00
parent 1842d3de9c
commit d584a49579
3 changed files with 84 additions and 44 deletions

View File

@@ -12,4 +12,15 @@ rt.set_default_identifier('random stuff');
for (const m of rt.iter_matches('#Hello World!')) {
console.log({class: m.constructor.name, identifier: m.identifier, value: m.value, captured: m.captured });
};
};
console.log('--=| Slicing |=--')
for (const m of rt.iter_matches('#Hello World!', 3, -3)) {
//console.log(m, m.pending_index)
console.log({class: m.constructor.name, identifier: m.identifier, value: m.value, captured: m.captured });
};