@spiceErrorCheck<EOL>def matchw(string, templ, wstr, wchr):<EOL>
string = stypes.stringToCharP(string)<EOL>templ = stypes.stringToCharP(templ)<EOL>wstr = ctypes.c_char(wstr.encode(encoding='<STR_LIT>'))<EOL>wchr = ctypes.c_char(wchr.encode(encoding='<STR_LIT>'))<EOL>return bool(libspice.matchw_c(string, templ, wstr, wchr))<EOL>
Determine whether a string is matched by a template containing wild cards.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/matchw_c.html

:param string: String to be tested.
:type string: str
:param templ: Template (with wild cards) to test against string.
:type templ: str
:param wstr: Wild string token.
:type wstr: str of length 1
:param wchr: Wild character token.
:type wchr: str of length 1
:return: The function returns True if string matches templ, else False
:rtype: bool