url/at encoding in regexp condition