Mercurial > octave-nkf
diff scripts/plot/__gnuplot_get_var__.m @ 11032:c9b0a75b02e8
Make all regexp in Octave compatible with both POSIX and PCRE.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 28 Sep 2010 09:25:14 -0700 |
parents | 95c3e38098bf |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/plot/__gnuplot_get_var__.m Tue Sep 28 08:22:15 2010 -0400 +++ b/scripts/plot/__gnuplot_get_var__.m Tue Sep 28 09:25:14 2010 -0700 @@ -130,7 +130,7 @@ if (isempty (str)) sleep (0.05); else - str = regexp (str, "OCTAVE:.*", "match"); + str = regexp (str, 'OCTAVE:.*', "match"); str = str{end}(8:end); endif fclear (istream);