-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Links that end a parenthetical expression are broken #47
Comments
Unfortunately, here's a counter-example that will break if this is fixed: http://irclog.perlgeek.de/ilbot/2016-07-27#i_12919928 Extracting URLs is really a heuristic. For example a comma is a valid part of an URL, but typically trailing commas are part of the surrounding text. Due to the prevalence of Wikipedia-URLs that end in a closing paren, I'm likely to reject this. |
What about if I work the regex so that a ')' isn't matched unless there's On Wed, Jul 27, 2016 at 1:15 PM, Moritz Lenz [email protected]
|
As long as it doesn't lead to exploding complexity, I'd accept that. |
E.g., (this is some text and then a link, hxxp://foo.bar.com/baz) include the trailing ')' in the href. Real word example here http://irclog.perlgeek.de/perl6/2016-07-18#i_12863149
The text was updated successfully, but these errors were encountered: