Ironclad / rivet

The open-source visual AI programming environment and TypeScript library
https://rivet.ironcladapp.com
MIT License
2.55k stars 226 forks source link

[Bug]: Extract Regex Node RangeError #393

Open red010 opened 1 month ago

red010 commented 1 month ago

What happened?

When I use (?=\n[\d{4}]) in the Extract Regex Node i obtain a RangeError: Invalid array length It seems that the Extract Regex Node does not work with the regex lookahed "(?=...)"

What was the expected functionality?

Rivet did not work as expected!

Describe your environment

MacOS Sonoma 14.4.1, node.js v21.4.0, Rivet v1.7.10

Relevant log output

No response

Relevant screenshots

No response

Code of Conduct