A simple, regex-based xdg-open replacement.