-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviordisplay and printingAesthetics and correctness of printed representations of objects.Aesthetics and correctness of printed representations of objects.regressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version
Description
The string representation of an expression that contains quotes "
in triple-quoted non-standard string literals (or escaped quotes in quoted non-standard string literals) is not faithfully any more. The resulting text does not represent valid Julia code and cannot be include
d again. in Julia v1.4
julia> print(:(r = r"""45 " """))
r = r"45 " "
julia> print(:(r = r"45 \" "))
r = r"45 " "
This does not happen for "normal" strings
julia> print(:(r = "45 \" "))
r = "45 \" "
and also used to work in Julia v1.3.1. See also https://discourse.julialang.org/t/string-representation-of-expression/36729/3?u=pfarndt
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviordisplay and printingAesthetics and correctness of printed representations of objects.Aesthetics and correctness of printed representations of objects.regressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version