-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix RegExp in expandReferences #875
Conversation
Hey @decarteret - this should fix the regex thing on your branch. Can you test here and merge down? Thanks! |
I tested this fix and it may not be all that's needed or may require further discussion. In my test, in my job code, I have:
Inside getContentsFromMessage I added this test code:
The output is:
Key takeaways for expected values:
|
Thank you for the detailed report @decarteret ! Let me take a look and come back to you |
Ok @decarteret that kinda blew my stack. There's some kind of weird identity thing where inside the vm, Could you retest for me? BTW, in your test code, don't worry that |
Success! With your new changes I reran my tests and it's working perfectly now! Thank you so much for spending time on this! |
This PR fixes an issue where passing a RegExp to expandReferences causes it to be serialised into a plan object
AI Usage
Please disclose how you've used AI in this work (it's cool, we just want to know!):
You can read more details in our Responsible AI Policy