Searching in mag/hexdigits