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

  • src/globals.py.in

    From 7e0bb91a11dcc211ca2f08c01b1339ddc1249284 Mon Sep 17 00:00:00 2001
    From: Pierre-Yves Chibon <pingou@pingoured.fr>
    Date: Fri, 2 Nov 2012 17:08:47 +0100
    Subject: [PATCH] Fix regex to include the port number when there is one
    
    ---
     src/globals.py.in | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/globals.py.in b/src/globals.py.in
    index 002e55a..894db6c 100644
    a b USERCHARS = "-[:alnum:]" 
    4141PASSCHARS = "-[:alnum:],?;.:/!%$^*&~\"#'" 
    4242HOSTCHARS = "-[:alnum:]" 
    4343HOST      = "[" + HOSTCHARS + "]+(\\.[" + HOSTCHARS + "]+)*" 
    44 PORT      = "(:[:digit:]{1,5})?" 
     44PORT      = "(:[[:digit:]]{1,5})?" 
    4545PATHCHARS =  "-[:alnum:]_$.+!*(),;:@&=?/~#%" 
    4646SCHEME    = "(news:|telnet:|nntp:|file:/|https?:|ftps?:|webcal:)" 
    4747USER      = "[" + USERCHARS + "]+(:[" + PASSCHARS + "]+)?" 
Note: See TracBrowser for help on using the repository browser.