Much better replacement and easier regexes.

Also keyboard navigation works.