Help strcmp with wildcards

Edwin van Ek eve at tnoibbc.UUCP
Tue Mar 20 19:51:20 AEST 1990


I'm looking for a strcmp() which can handle wildcards. I know the
standard-C-function can't do this. Has anyone written this function and can
I obtain it, if not can anyone gove me hints on how to implement this
function.

The wildcards I have to use in my program are :

		* -> matches any number, float and int
		$ -> matches any blank terminated string
		@ -> any letter
		^ -> any uppercase-letter
		? -> any character
		# -> any digit
		\ -> used to start pattern escape sequence

Please respond by e-mail.

many regards
	E. van Ek
-- 
Edwin van Ek: TNO - IBBC                    INTERNET: eve at tnoibbc
            : PO-box 49                     DOMAIN  : eve at tnoibbc.tno.nl
            : 2600 AA  Delft                FAX     : +31 15 843990
            : the Netherlands               VOICE   : +31 15 842357



More information about the Comp.lang.c mailing list