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

Redis config value can either be "xxx" or xxx, the double quotation should ignore when parsing #21

Closed
naughtyGitCat opened this issue Aug 5, 2021 · 2 comments

Comments

@naughtyGitCat
Copy link

YAML also has this feature, the quote on string value is not mandatory.

x="a"
y=b

should be cast to

X = a
Y = b

not

X = "a"
Y = b
@salaros
Copy link
Owner

salaros commented Aug 8, 2021

YAML also has this feature, the quote on string value is not mandatory.

x="a"
y=b

should be cast to

X = a
Y = b

not

X = "a"
Y = b

Have you tried using new ConfigParser(new ConfigParserSettings { MultiLineValues = MultiLineValues.QuoteDelimitedValues })?

@naughtyGitCat
Copy link
Author

thanks, i will try it

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

No branches or pull requests

2 participants