Skip to content
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

Support escaped colon in variables #336

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

HuyPhanNguyen
Copy link
Contributor

@HuyPhanNguyen HuyPhanNguyen commented Jan 6, 2025

Related to sc-100335

Support escaped colons in variable names

Fixed issue where variables containing colons in their names (e.g., "Test:Variable") were being incorrectly split. Added support for escaped colons using backslash (e.g., Test\:Variable) to allow colons as part of variable names while maintaining the existing delimiter functionality.
Example usage:

Variables: 'Test\:Variable: Testing3'  # Creates variable "Test:Variable" with value "Testing3"

Copy link
Contributor

@IsaacCalligeros95 IsaacCalligeros95 left a comment

Choose a reason for hiding this comment

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

LGTM, I can't think of any common use cases of \: it'd be good to get a second opinion on that though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants