diff options
Diffstat (limited to 'pyLoadGui.py')
-rwxr-xr-x | pyLoadGui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyLoadGui.py b/pyLoadGui.py index a19053def..69df22a4f 100755 --- a/pyLoadGui.py +++ b/pyLoadGui.py @@ -586,7 +586,7 @@ class main(QObject): """ if self.checkClipboard: text = self.clipboard.text() - pattern = re.compile(r"(http|https|ftp)://[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?/.*)?") + pattern = re.compile(r"(http|https|ftp)://[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2, 5}(([0-9]{1, 5})?/.*)?") matches = pattern.finditer(text) # thanks to: jmansour //#139 |