Skip to content

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.

@HuyPhanNguyen HuyPhanNguyen merged commit 0285590 into main Jan 7, 2025
9 checks passed
@HuyPhanNguyen HuyPhanNguyen deleted the huy/2025/1/support-escaped-colon-in-variables branch January 7, 2025 23:07
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