Switched to URLUtil and Patterns matching