Mercurial > hg > octave-nkf
diff scripts/plot/refreshdata.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 | 693e22af08ae |
children | c776f063fefe |
line wrap: on
line diff
--- a/scripts/plot/refreshdata.m +++ b/scripts/plot/refreshdata.m @@ -80,7 +80,7 @@ for i = 1 : numel (h) obj = get (h (i)); fldnames = fieldnames (obj); - m = regexpi (fieldnames(obj), "^.+datasource$", "match"); + m = regexpi (fieldnames(obj), '^.+datasource$', "match"); idx = cellfun (@(x) !isempty(x), m); if (any (idx)) tmp = m(idx);