Bug 558656 - URLHyperlinkDetector: exclude trailing periods

While technically allowed, URLs in practice don't end with periods.
Exclude them from the match; this gives better results in plain text
when a URL occurs at a sentence end.

Only periods are excluded; other punctuation is not handled.

Change-Id: I290d6b951c1ab196dd3420719653c76527a032ed
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/181769
Reviewed-by: Mickael Istria <mistria@redhat.com>
Tested-by: Platform Bot <platform-bot@eclipse.org>
2 files changed