-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Akka.NET's HOCON does not treat triple-quotes correctly. #1687
Comments
I'll take a look at this one |
PR #1689 |
Thanks, Roger! |
Hocon Tripple quoted text - Fixes #1687
And its back, or i found another edge case
Notes: Manually escaping the slashes again, works. So thats a workaround. |
There are no tripplequotes in that example """ ? Skickat från min iPhone
|
After re-reading the hocon spec. I realised its actually correct behavior. Its just not how i expected it to work. The point is, if you build a filepath string in code with path.combine or whatnot. And pass that in a hocon variable. It throws with |
There is a test verifying that tripplequotes can be parsed. |
Ill add a testcase |
Additional testcase merged |
From the HOCON Readme:
The following code demonstrates the issue:
The actual contents of that string are evaluated to be:
The runtime error I receive clearly shows that the HOCON parser is trying to read "\d" as an escape sequence instead of two literal unicode characters:
The text was updated successfully, but these errors were encountered: