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 hyphen for unquoted string #15

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Support hyphen for unquoted string #15

merged 1 commit into from
Jan 3, 2025

Conversation

cathay4t
Copy link
Contributor

@cathay4t cathay4t commented Jan 3, 2025

For YAML like:

abc-d: 123

It should be treated as Map with abc-d as key and 123 as value.

Test cases included.

For YAML like:

`abc-d: 123`

It should be treated as Map with `abc-d` as key and `123` as value.

Test cases included.

Signed-off-by: Gris Ge <[email protected]>
@cathay4t cathay4t enabled auto-merge (rebase) January 3, 2025 17:39
@cathay4t cathay4t disabled auto-merge January 3, 2025 17:39
@cathay4t cathay4t merged commit fafd671 into nispor:main Jan 3, 2025
4 checks passed
@cathay4t cathay4t deleted the wip branch January 3, 2025 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant