wildcards strcmp()

Edwin van Ek eve at tnoibbc.UUCP
Tue Mar 20 19:48:25 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



More information about the Comp.lang.c mailing list