accdb: reimplement "#num" pattern as a filter

Later I'll try optimizing the search function to detect filters that
already know what they're looking for.
accdb: retain compatibility with "(PATTERN #num)" filters
accdb: reimplement "{uuid}" pattern as a filter