changeset 24595:5ed2e9248ee9 stable

doc: Tweaks to use single quotes instead of double quotes (bug #52870). * input.cc (FPS1): Use single quotes around PS1 default value which contains backslash. * regexptranslate.m: Use single quotes around results which contain backslash.
author Rik <rik@octave.org>
date Sun, 14 Jan 2018 17:04:07 -0800
parents 6523facc5d81
children 49876d80d110
files libinterp/corefcn/input.cc scripts/strings/regexptranslate.m
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/input.cc	Tue Jan 09 21:52:11 2018 -0800
+++ b/libinterp/corefcn/input.cc	Sun Jan 14 17:04:07 2018 -0800
@@ -1370,7 +1370,7 @@
 When executing interactively, Octave displays the primary prompt when it is
 ready to read a command.
 
-The default value of the primary prompt string is @qcode{"octave:\#> "}.
+The default value of the primary prompt string is @qcode{'octave:\#> '}.
 To change it, use a command like
 
 @example
--- a/scripts/strings/regexptranslate.m	Tue Jan 09 21:52:11 2018 -0800
+++ b/scripts/strings/regexptranslate.m	Sun Jan 14 17:04:07 2018 -0800
@@ -33,7 +33,7 @@
 ## @example
 ## @group
 ## regexptranslate ("wildcard", "*.m")
-##      @result{} ".*\.m"
+##      @result{} '.*\.m'
 ## @end group
 ## @end example
 ##
@@ -44,7 +44,7 @@
 ## @example
 ## @group
 ## regexptranslate ("escape", "12.5")
-##      @result{} "12\.5"
+##      @result{} '12\.5'
 ## @end group
 ## @end example
 ##