url matching should not include unsafe characters (square bracket)
Currently iterm is matching unsafe url characters as part of the URL regex which can cause failures to open the correct url.
Includes the blank/empty space and " < > # % { } | \ ^ ~ [ ] `
See https://perishablepress.com/stop-using-unsafe-characters-in-urls/ for details or official http://www.ietf.org/rfc/rfc1738.txt
Why this is a problem? Check string below:
[gerriturl https://review.openstack.org/#/c/559488/]
If user tries to click the URL, it will include the ]
and the correct url will not open.
If iTerm2 would only look for URLs made of safe characters, this should not happen.
At least the square bracket should be considered word delimiter in order to avoid this issue.