Mercurial > jwe > octave
diff liboctave/util/lo-regexp.cc @ 27938:863ae57eee69
maint: Use Octave coding conventions in liboctave/
* Array-C.cc, Array-d.cc, Array-f.cc, MSparse.cc, Sparse.cc, dim-vector.h,
xerbla.cc, aepbalance.cc, eigs-base.cc, gepbalance.cc, oct-fftw.cc,
randmtzig.cc, mx-inlines.cc, lo-sysdep.cc, base-list.h, cmd-edit.h,
lo-regexp.cc, oct-atomic.h, oct-binmap.h, oct-inttypes.cc, oct-inttypes.h,
quit.h, url-transfer.cc:
Use Octave coding conventions in liboctave.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 11 Jan 2020 12:53:20 -0800 |
parents | bd51beb6205e |
children | cf059093ffbc 0a5b15007766 |
line wrap: on
line diff
--- a/liboctave/util/lo-regexp.cc Fri Jan 10 17:25:12 2020 -0800 +++ b/liboctave/util/lo-regexp.cc Sat Jan 11 12:53:20 2020 -0800 @@ -200,7 +200,7 @@ buf << m_pattern.substr (new_pos, tmp_pos3 - new_pos) << '{' << i << '}'; buf << m_pattern.substr (tmp_pos3 + 1, - tmp_pos1 - tmp_pos3 - 1); + tmp_pos1 - tmp_pos3 - 1); if (i != max_length) buf << '|'; } @@ -239,7 +239,7 @@ | PCRE_UTF8); m_data = pcre_compile (buf_str.c_str (), pcre_options, - &err, &erroffset, nullptr); + &err, &erroffset, nullptr); if (! m_data) (*current_liboctave_error_handler)