diff options
author | infirit <[email protected]> | 2014-08-18 18:30:48 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-08-18 18:33:23 +0200 |
commit | 0442355666d4179ef22557149410f89ab240bdff (patch) | |
tree | 14978f861f71426d6fcc02fb93b2259217fd3162 /src | |
parent | 03a6b77abe7768429890893b4b912ac3685071f3 (diff) | |
download | mate-terminal-0442355666d4179ef22557149410f89ab240bdff.tar.bz2 mate-terminal-0442355666d4179ef22557149410f89ab240bdff.tar.xz |
Add colon to PATHCHARS_CLASS for url detection.
Closes #70
Diffstat (limited to 'src')
-rw-r--r-- | src/terminal-screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal-screen.c b/src/terminal-screen.c index 79995dc..2867168 100644 --- a/src/terminal-screen.c +++ b/src/terminal-screen.c @@ -156,7 +156,7 @@ static guint signals[LAST_SIGNAL]; #define HOSTCHARS_CLASS "[-[:alnum:]]" #define HOST HOSTCHARS_CLASS "+(\\." HOSTCHARS_CLASS "+)*" #define PORT "(?:\\:[[:digit:]]{1,5})?" -#define PATHCHARS_CLASS "[-[:alnum:]\\Q_$.+!*,;@&=?/~#%\\E]" +#define PATHCHARS_CLASS "[-[:alnum:]\\Q_$.+!*,:;@&=?/~#%\\E]" #define PATHTERM_CLASS "[^\\Q]'.}>) \t\r\n,\"\\E]" #define SCHEME "(?:news:|telnet:|nntp:|file:\\/|https?:|ftps?:|sftp:|webcal:)" #define USERPASS USERCHARS_CLASS "+(?:" PASSCHARS_CLASS "+)?" |