Skip to content

Commit cc82519

Browse files
Update open-uri-context-menu.py (#646)
Fix warning
1 parent 94be65b commit cc82519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/open-uri-context-menu/open-uri-context-menu/open-uri-context-menu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
ACCEPTED_SCHEMES = ['file', 'ftp', 'sftp', 'smb', 'dav', 'davs', 'ssh', 'http', 'https']
3232
RE_DELIM = re.compile(r'[\w#/\?:%@&\=\+\.\\~-]+', re.UNICODE|re.MULTILINE)
33-
RE_URI_RFC2396 = re.compile("((([a-zA-Z][0-9a-zA-Z+\\-\\.]*):)?/{0,2}([0-9a-zA-Z;:,/\?@&=\+\$\.\-_!~\*'\(\)%]+))?(#[0-9a-zA-Z;,/\?:@&\=+$\.\\-_!~\*'\(\)%]+)?")
33+
RE_URI_RFC2396 = re.compile(r"((([a-zA-Z][0-9a-zA-Z+\-\.]*):)?/{0,2}([0-9a-zA-Z;:,/\?@&=\+\$\.\-_!~\*'\(\)%]+))?(#[0-9a-zA-Z;,/\?:@&\=+$\.\\-_!~\*'\(\)%]+)?")
3434

3535
class OpenURIContextMenuPlugin(GObject.Object, Xed.WindowActivatable):
3636
__gtype_name__ = "OpenURIContextMenuPlugin"

0 commit comments

Comments
 (0)