-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add \r
to the list of non-unescaped characters to fix windows CI
#14
Conversation
Codecov Report
@@ Coverage Diff @@
## lh/ci-old-julia #14 +/- ##
================================================
Coverage 67.21% 67.21%
================================================
Files 7 7
Lines 796 796
================================================
Hits 535 535
Misses 261 261
|
Whelp, that fixed it. Manually listing many escape characters is typically codesmell. It is notoriously difficult to get escaping and unescaping right. @tecosaur, how do we know we've got the right set of characters to not unescape? |
Well, each one of those was added for a particular reason. Otherwise things like |
\r
to the list of non-unescaped characters to fix windows CI
What I wonder with styled"some content \
split across \
lines" (this is currently missing a test) |
IIUC The presence of |
|
I was going to say "shouldn't you just use the built-in support for strings without newlines split across multiple lines?" but it seems that Julia does not have support for this 😢 |
Everything from Julia strings that "just works" here has been manually implemented 😅. |
That's sad and error-prone. Julia should provide a way to reuse the existing string parsing machinery.
|
It looks like Base strings identify and delete things that match the regex |
I thin we're just accomplishing the same effect via state machine instead of regexp. |
Oh, JuliaSyntax also doesn't use a Regex, that was just to state what's going on. |
Anyway, moving discussion to #16 |
I think this is superseded by #16 being merged. |
No description provided.