forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Arg. to avoid escaping backslahes (escape_string) (JuliaLang#38597)
* Arg. to avoid escaping backslahes (escape_string) This commit adds an argument to `escape_string` to assume that all backslashes (`\\`) are already escaped. Hence, `\\cdot` becomes `\\cdot` instead of `\\\\cdot`. The default value to this argument is `false`. Hence, this does not break any existing code since `escape_string` behaves exactly the same as before if no additional option is passed. Closes JuliaLang#34042 * Replace `bsescaped` arg. with `keep` keyword * Update NEWS.md * Fix doc tests * Add compat annotation Co-authored-by: Ronan Arraes Jardim Chagas <[email protected]>
- Loading branch information
1 parent
63aa110
commit ab2990b
Showing
3 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters