comparison 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
comparison
equal deleted inserted replaced
11031:d81b6144c4ba 11032:c9b0a75b02e8
128 while (isempty (str)) 128 while (isempty (str))
129 str = char (fread (istream)'); 129 str = char (fread (istream)');
130 if (isempty (str)) 130 if (isempty (str))
131 sleep (0.05); 131 sleep (0.05);
132 else 132 else
133 str = regexp (str, "OCTAVE:.*", "match"); 133 str = regexp (str, 'OCTAVE:.*', "match");
134 str = str{end}(8:end); 134 str = str{end}(8:end);
135 endif 135 endif
136 fclear (istream); 136 fclear (istream);
137 endwhile 137 endwhile
138 endif 138 endif