This reverts commit a4004904fe.
a4004904fe
URLs with trailing special chars (e.g. slash, minus, ...) should now be matched correctly, even when followed by a non-url char