Wanted: string matching routine

Frank Vahid vahid at vesta.ics.uci.edu
Thu Jun 27 04:58:55 AEST 1991


Hi.

Does anyone have a routine which is similar to strcmp, but permits
unix-type wildcard characters in at least one of the strings?
For example, strmatch("abc*", "abcdefg") would return a value denoting
a successful match.

Thanks.

Frank (vahid at ics.uci.edu)



More information about the Comp.lang.c mailing list