source: projects/specs/trunk/g/guake/0001-Fix-regex-to-include-the-port-number-when-there-is-o.patch @ 8096

Revision 8096, 866 bytes checked in by iwaim, 10 years ago (diff)

guake 0.4.4-2

RevLine 
[8096]1From 7e0bb91a11dcc211ca2f08c01b1339ddc1249284 Mon Sep 17 00:00:00 2001
2From: Pierre-Yves Chibon <pingou@pingoured.fr>
3Date: Fri, 2 Nov 2012 17:08:47 +0100
4Subject: [PATCH] Fix regex to include the port number when there is one
5
6---
7 src/globals.py.in | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/src/globals.py.in b/src/globals.py.in
11index 002e55a..894db6c 100644
12--- a/src/globals.py.in
13+++ b/src/globals.py.in
14@@ -41,7 +41,7 @@ USERCHARS = "-[:alnum:]"
15 PASSCHARS = "-[:alnum:],?;.:/!%$^*&~\"#'"
16 HOSTCHARS = "-[:alnum:]"
17 HOST      = "[" + HOSTCHARS + "]+(\\.[" + HOSTCHARS + "]+)*"
18-PORT      = "(:[:digit:]{1,5})?"
19+PORT      = "(:[[:digit:]]{1,5})?"
20 PATHCHARS =  "-[:alnum:]_$.+!*(),;:@&=?/~#%"
21 SCHEME    = "(news:|telnet:|nntp:|file:/|https?:|ftps?:|webcal:)"
22 USER      = "[" + USERCHARS + "]+(:[" + PASSCHARS + "]+)?"
23--
241.7.11.7
25
Note: See TracBrowser for help on using the repository browser.