Mercurial > octave-nkf
comparison test/octave.test/system/fnmatch-1.m @ 2742:eeb061f9cdbf
[project @ 1997-02-26 04:29:07 by jwe]
author | jwe |
---|---|
date | Wed, 26 Feb 1997 04:29:48 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2741:0d126fbe022d | 2742:eeb061f9cdbf |
---|---|
1 string_fill_char = setstr (0); | |
2 (fnmatch ("a*a", ["aba"; "xxxba"; "aa"]) == [1; 0; 1] | |
3 && fnmatch (["a*a"; "b*b"], "bob") | |
4 && fnmatch ("x[0-5]*", ["x1"; "x6"]) == [1; 0] | |
5 && fnmatch ("x[0-5]*", ["x1"; "x6"; "x001"]) == [1; 0; 1] | |
6 && fnmatch ("x???y", ["xabcy"; "xy"]) == [1; 0]) |