You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current regex only matches a website in one specific case. [ www.somesite.tld ] ...
But there are lots of torrents out there that don't follow that scheme and just dump their url in the filename. Which wouldn't be caught by the current regex en thus the title field itself still contains the url. Not really ideal.
A 'better' regex would be: (www|http:|https:)+[^\s]+[\w]
I'm by no means an expert in regex though, i merely found that one :)
But i don't know if that would clean any garbage before and after it.
Cheers,
Mark
The text was updated successfully, but these errors were encountered:
Hi,
The current regex only matches a website in one specific case.
[ www.somesite.tld ] ...
But there are lots of torrents out there that don't follow that scheme and just dump their url in the filename. Which wouldn't be caught by the current regex en thus the title field itself still contains the url. Not really ideal.
A 'better' regex would be:
(www|http:|https:)+[^\s]+[\w]
I'm by no means an expert in regex though, i merely found that one :)
But i don't know if that would clean any garbage before and after it.
Cheers,
Mark
The text was updated successfully, but these errors were encountered: