after reading mtree readme, it is not clear to me if mt_match() matches to longest or any matching prefix in the three. for example, if i have tree with prefixes 00 and 00358 and string to be matched is 0035892345670, will mt_match() set pv to value associated with 00 or 00358? also, if mt_ignore_duplicates is set, will 00358 be considered as duplicate of 00 or just prefixes that are exactly same. finally, what are possible mt_tree_type values and what types they stand for?
-- juha