Mercurial > octave-nkf
comparison NEWS @ 20245:29eb47fe8e8c
Add support for octal and hex escape sequences in single-quoted *printf arguments (bug #39774).
* NEWS: Announce support for octal and hex escape sequences in single quoted
strings.
* utils.cc (do_string_escapes): Add case statements for hex and octal escape
sequences and convert strings to numbers.
* utils.cc (Fdo_string_escapes): Add BIST tests for octal and hex escape
sequences.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 20 May 2015 17:18:41 -0700 |
parents | d9f35ceff9e1 |
children | f2bc7d23295d |
comparison
equal
deleted
inserted
replaced
20242:abf85f8cbd6c | 20245:29eb47fe8e8c |
---|---|
1 Summary of important user-visible changes for version 4.2: | 1 Summary of important user-visible changes for version 4.2: |
2 --------------------------------------------------------- | 2 --------------------------------------------------------- |
3 | |
4 ** Octal ('\NNN') and hex ('\xNN') escape sequences in single quoted | |
5 strings are now interpreted by the function do_string_escapes(). | |
6 The *printf family of functions now supports octal and hex escape | |
7 sequences in single-quoted strings for Matlab compatibility. | |
3 | 8 |
4 ** mkfifo now interprets the MODE argument as an octal, not decimal, integer. | 9 ** mkfifo now interprets the MODE argument as an octal, not decimal, integer. |
5 This is consistent with the equivalent shell command. | 10 This is consistent with the equivalent shell command. |
6 | 11 |
7 ** Other new functions added in 4.2: | 12 ** Other new functions added in 4.2: |