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.
Signed-off-by: Thomas Wolf <firstname.lastname@example.org>
Reviewed-by: Mickael Istria <email@example.com>
Tested-by: Platform Bot <firstname.lastname@example.org>
2 files changed