Skip to content

Conversation

@ieow
Copy link
Contributor

@ieow ieow commented Oct 14, 2024

There might be nested or edge combination that failed previous escape
.replace(/\$\{(.*?)\}/g, '\\$\\{$1\\}')
replacing with simpler strategy that prevents the compiled string from expecting a variable
.replace(/\$/g, '\\$')

This might fix the issue #182

Copy link
Owner

@inokawa inokawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@inokawa inokawa merged commit d26d920 into inokawa:main Oct 14, 2024
1 check passed
@inokawa
Copy link
Owner

inokawa commented Oct 14, 2024

0.12.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants