alan,
i'm still wondering how your prefix pattern can limit the number of
digits in the match, since definitely % (that matches anything of any
length) is added automatically to the prefix. otherwise, plain prefixes
like 00358 would not work at all.
-- juha