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

Update documentation and news for raw_str macro #20239

Merged
merged 7 commits into from
Feb 7, 2017
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ Library improvements

* `notify` now returns a count of tasks woken up ([#19841]).

* Introduce nonstandard string literal `raw"..."` for creating strings
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "New" instead of "Introduce". At least that what is seems like is being used in many of the other bullets for new functions and macros.

with no interpolation or unescaping ([#19900]).

Compiler/Runtime improvements
-----------------------------

Expand Down Expand Up @@ -915,8 +918,10 @@ Language tooling improvements
[#19787]: https://github.com/JuliaLang/julia/issues/19787
[#19800]: https://github.com/JuliaLang/julia/issues/19800
[#19841]: https://github.com/JuliaLang/julia/issues/19841
[#19900]: https://github.com/JuliaLang/julia/issues/19900
[#19903]: https://github.com/JuliaLang/julia/issues/19903
[#19919]: https://github.com/JuliaLang/julia/issues/19919
[#19944]: https://github.com/JuliaLang/julia/issues/19944
[#19950]: https://github.com/JuliaLang/julia/issues/19950
[#20079]: https://github.com/JuliaLang/julia/issues/20079
[#20164]: https://github.com/JuliaLang/julia/issues/20164
10 changes: 6 additions & 4 deletions doc/src/manual/strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,9 @@ in the `Pkg` module, to specify packages versions and their dependencies.
## [Raw String Literals](@id man-raw-string-literals)

Raw strings without interpolation or unescaping can be expressed with
non-standard string literals of the form `raw"..."`. Raw string literals
create ordinary `String` objects which contain the enclosed contents exactly
as entered with no interpolation or unescaping. This is useful for strings which
contain code or markup in other languages which use `$` or `\` as special characters.
non-standard string literals of the form `raw"..."`. Raw string literals create
ordinary `String` objects which contain the enclosed contents exactly as
entered with no interpolation or unescaping. This is useful for strings which
contain code or markup in other languages which use `$` or `\` as special
characters. The exception is quotation marks that still must be
escaped, e.g. `raw"\""` is equivalent to "\"".