Believer Member Posts: 80 From: British Columbia, Canada Registered: 01-30-2001 |
In case anyone is interested, I just posted a little C routine in the code database. It's nothing special, just a simple routine that tests a string against a wildcard pattern. I use it in many different programs where I have to search a directory for files matching a certain pattern, and I also use it in various network programs when testing IP and hostnames against ban lists and such. It's very efficient, much faster than using regex (if you don't need the extra features regex gives you). Believer |