Regex issues with some links

Summary

https://www.minds.com/newsfeed/1070416430212763648

It appears in some instances we prematurely truncate our links.

Steps to reproduce

  1. Post

https://archive.org/search.php?query=Atlas%20shrugged&and[]=mediatype:"texts"

Platform information

Cross-platform web. Replicated Chromium/Ubuntu 19.04

What is the current bug behavior?

Link is cut off

What is the expected correct behavior?

That text should still be linked.

Relevant logs and/or screenshots

image

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)