diff doc/interpreter/io.txi @ 20076:dbf2418a46dd

Document expansion of escape sequences in single quotes (bug #44745). * io.txi: Note that all *printf functions expand escape sequences. * error.cc (Ferror, Fwarning): Note that escape sequences are expanded. * file-io.cc (Fprintf, Ffprintf, Fsprintf): Note that escape sequences are expanded. * regexp.cc (Fregexp, Fregexprep): Note that escape sequences are expanded.
author Rik <rik@octave.org>
date Tue, 07 Apr 2015 21:18:22 -0700
parents 4197fc428c7d
children 1f9ed81bd173
line wrap: on
line diff
--- a/doc/interpreter/io.txi	Tue Apr 07 18:29:01 2015 -0700
+++ b/doc/interpreter/io.txi	Tue Apr 07 21:18:22 2015 -0700
@@ -392,6 +392,10 @@
 interpret the format template differently in order to improve the
 performance of printing vector and matrix values.
 
+Implementation Note: For compatability with @sc{matlab}, escape sequences in
+the template string (e.g., @qcode{"\n"} => newline) are expanded even
+when the template string is defined with single quotes.
+
 @DOCSTRING(printf)
 
 @DOCSTRING(fprintf)