* Updated resolve_target and list to use SQLite's GLOB to match using UNIX-style wildcards * and ?.