Re: URL_REGEXP and URLs ending with ')'
Martin Klaiber <[email protected]> Sun, 20 Apr 2014 13:16:46 +0200
| Newsgroups | gmane.network.tin.devel |
|---|---|
| Message-ID | <[email protected]> |
Urs Janßen <[email protected]> wrote: > IMHO the closing ) at the end of the url should only be catptured if there > was an opening ( befor, otherwise it should not be trated to be part of > the url to avoid wrong captures. have fun with putting that into a regexp ,-) This would be a nice solution. But the main problem is IMHO that it is not possible to add characters manually when editing the URL because tin seems to limit the length of the URL-string to the original length without the ")". So, it is not possible to add a ")" manually but it is always possible to delete a trailing ")". At least with my version of tin (2.1.1 from Debian wheezy). Therefore and as a handy solution I would allow the closing ")" rather than forbidding it. Martin