Prevent autoLinkUrls from including ending punctuation in the URL
Prevent autoLinkUrls from including ending punctuation in the URL

The regular expression that implements autoLinkUrls includes an ending character match that is designed to prevent inclusion of ending punctuation in the URL. For some reason, this last character match has been short circuited by adding a final question mark meta-character, which renders it useless. This patch corrects this mistake, and adds the same utf8 Letter mode matching that is permitted before the final character in the URL.

It looks like the regex for ftp also suffers from this problem, but this update does not fix that one.

Signed-off-by: Noteworthy Software, Inc <2dbc2fd2358e1ea1b7a6bc08ea647b9a337ac92d@noteworthysoftware.com>
elkarte/Elkarte,joshuaadickerson/Elkarte2,nwsw/Elkarte,interlab/Elkarte,nwsw/Elkarte,Spuds/Elkarte,interlab/Elkarte,StealthWombat/How-to-fork-an-Elk,nwsw/Elkarte,joshuaadickerson/Elkarte2,elkarte/Elkarte,interlab/Elkarte,wizardaf/Elkarte,StealthWombat/How-to-fork-an-Elk,Spuds/Elkarte,emanuele45/Dialogo,Spuds/Elkarte,StealthWombat/How-to-fork-an-Elk,joshuaadickerson/Elkarte2,wizardaf/Elkarte,emanuele45/Dialogo,wizardaf/Elkarte,wizardaf/Elkarte,elkarte/Elkarte,joshuaadickerson/Elkarte2,StealthWombat/How-to-fork-an-Elk,emanuele45/Dialogo