-void Insert(char* substr,char* str,int pos)
-{
- std::string a = str;
- a.insert(pos,substr);
- strlcpy(str,a.c_str(),MAXBUF);
-}
+// Wed 27 Apr 2005 - Brain
+// I've taken our our old wildcard routine -
+// although comprehensive, it was topheavy and very
+// slow, and ate masses of cpu when doing lots of
+// comparisons. This is the 'de-facto' routine used
+// by many, nobody really knows who wrote it first
+// or what license its under, i've seen examples of it
+// (unattributed to any author) all over the 'net.
+// For now, we'll just consider this public domain.