[GH-ISSUE #21] Cannot escape $ inside strings #8

Closed
opened 2026-05-22 22:05:08 +01:00 by JakeStanger · 2 comments
Owner

Originally created by @JakeStanger on GitHub (Aug 30, 2023).
Original GitHub issue: https://github.com/corn-config/corn/issues/21

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.

Originally created by @JakeStanger on GitHub (Aug 30, 2023). Original GitHub issue: https://github.com/corn-config/corn/issues/21 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.
JakeStanger 2026-05-22 22:05:08 +01:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@yavko commented on GitHub (Aug 31, 2023):

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

<!-- gh-comment-id:1701347683 --> @yavko commented on GitHub (Aug 31, 2023): What about like a `\` escape and `\\` to escape the escape
Author
Owner

@JakeStanger commented on GitHub (Aug 31, 2023):

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

<!-- gh-comment-id:1701353012 --> @JakeStanger commented on GitHub (Aug 31, 2023): Other string escapes are supported, so hopefully yeah I can just add in `\$` to resolve this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
corn-config/corn#8
No description provided.