diff options
author | infirit <[email protected]> | 2014-08-18 18:30:48 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-08-18 18:30:48 +0200 |
commit | 31fb0be28e7764fad7b7cb99d84fe8e015a8408c (patch) | |
tree | 77d231a108e7b5134d684ba633d499acbd3e2994 /src | |
parent | f6d1706007760cf7c7ad509dc6f5321a0a9c0583 (diff) | |
download | mate-terminal-31fb0be28e7764fad7b7cb99d84fe8e015a8408c.tar.bz2 mate-terminal-31fb0be28e7764fad7b7cb99d84fe8e015a8408c.tar.xz |
Add colon to PATHCHARS_CLASS for url detection.
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 91d503f..2f13adc 100644 --- a/src/terminal-screen.c +++ b/src/terminal-screen.c @@ -157,7 +157,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 "+)?" |