Mercurial > octave
changeset 24607:a27dcb26f872
maint: merge stable to default.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 15 Jan 2018 16:29:41 -0800 |
parents | 6b3c78f84d3b (current diff) 4a4a8b2a5bf2 (diff) |
children | 55f61915701b |
files | libinterp/corefcn/regexp.cc liboctave/util/lo-regexp.cc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/regexp.cc Mon Jan 15 16:38:16 2018 -0500 +++ b/libinterp/corefcn/regexp.cc Mon Jan 15 16:29:41 2018 -0800 @@ -1502,4 +1502,8 @@ %!assert (regexprep ("\n", '\n', "X"), "X") %!assert (regexprep ("\n", "\n", "X"), "X") + +## Empty matches were broken on ARM architecture +%!test <*52810> +%! assert (strcmp (regexprep ("\nabc", "^(\t*)(abc)$", "$1$2", "lineanchors"), "\nabc")) */