mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
Fixed the check_for_urls method per the GitHub issue #845.
This commit is contained in:
parent
b678e26281
commit
02c3c4b8a0
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ class Coder:
|
|||
|
||||
def check_for_urls(self, inp):
|
||||
url_pattern = re.compile(
|
||||
r"http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\\(\\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+"
|
||||
r"(https?://[^\s/$.?#].[^\s]*)"
|
||||
)
|
||||
urls = url_pattern.findall(inp)
|
||||
for url in urls:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue