Hi, there is a bug in the case of URLs that ending with a slash and a parenthesis. So, for example, when we have a string such as:
some_str = "some string with urls (example.com)"
or
some_str = "some string with urls ( example.com)"
The result would be:
['example.com']
Which is correct. But when we have a string such as:
some_str = "some string with urls ( example.com/somepath)"
The result would be:
['example.com/somepath)']
or
some_str = "some string with urls ( example.com/)"
The result would be:
['example.com/)']
Which is inccorect.
Hi, there is a bug in the case of URLs that ending with a slash and a parenthesis. So, for example, when we have a string such as:
some_str = "some string with urls (example.com)"
orsome_str = "some string with urls ( example.com)"
The result would be:['example.com']
Which is correct. But when we have a string such as:some_str = "some string with urls ( example.com/somepath)"
The result would be:['example.com/somepath)']
orsome_str = "some string with urls ( example.com/)"
The result would be:['example.com/)']
Which is inccorect.