corn-config / corn

🌽 A simple and pain-free configuration language. Reference libcorn implementation and CLI.
https://cornlang.dev
MIT License
40 stars 5 forks source link

Cannot escape `$` inside strings #21

Closed JakeStanger closed 1 year ago

JakeStanger commented 1 year ago

Support for input interpolation inside strings has made it impossible in some cases to include a $ in a string that does not belong to an input.

yavko commented 1 year ago

What about like a \ escape and \\ to escape the escape

JakeStanger commented 1 year ago

Other string escapes are supported, so hopefully yeah I can just add in \$ to resolve this.