Searching in dom/ranges