Hand the code a HUGE list of several thousand wildcard strings to match against. Start handing it entries to test against, it tests them against the collective database of wildcard strings, and tells you the first, shortest string it matches against, and lets you tag individual wildcard strings with arbitrary data to return as well.
In a NutShell...
Date: 2002-03-23 05:59 pm (UTC)Sorry, programer-speak kicked in I guess. >^.^