Mercurial > octave-nkf
diff scripts/strings/strmatch.m @ 11191:01ddaedd6ad5
Reverse changeset b1f4bdc276b6. Use all lower case for "uniformoutput" option.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Thu, 04 Nov 2010 12:18:08 -0700 |
parents | 0b05b204775b |
children | d7fbb08e28cf |
line wrap: on
line diff
--- a/scripts/strings/strmatch.m Wed Nov 03 17:37:00 2010 -0700 +++ b/scripts/strings/strmatch.m Thu Nov 04 12:18:08 2010 -0700 @@ -67,7 +67,7 @@ idx = find (strncmp (s, A, len)); if (exact) ## We can't just use strcmp, because we need to ignore whitespace. - B = cellfun (@strtrimr, A(idx), "UniformOutput", false); + B = cellfun (@strtrimr, A(idx), "uniformoutput", false); idx = idx (strcmp (s, B)); endif elseif (ischar (A))