Not a bad idea but why would you use $wildtok, an identifier made specifically for wildcard match, to do regex match? That does not make any sense, something that makes sense:
-Extend $wildtok: add the command parameter the same way $hfind has: $wildtok(input,wildstring,N,cmd) and add a property to get $wildtok to apply the W option of $hfind
-Add a new identifier, $regtok(input,regex,N,cmd) with the same property as above...