Merge lp:~roignac/gwibber/Bug333390 into lp:gwibber

Proposed by Vadim Rutkovsky
Status: Merged
Merged at revision: 831
Proposed branch: lp:~roignac/gwibber/Bug333390
Merge into: lp:gwibber
Diff against target: 12 lines (+1/-1)
1 file modified
gwibber/microblog/util/__init__.py (+1/-1)
To merge this branch: bzr merge lp:~roignac/gwibber/Bug333390
Reviewer Review Type Date Requested Status
gwibber-committers Pending
Review via email: mp+33337@code.launchpad.net

Description of the change

Fiz for lp:333390 - URLs with unicode symbols are now displayed as links

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'gwibber/microblog/util/__init__.py'
--- gwibber/microblog/util/__init__.py 2010-08-08 02:46:31 +0000
+++ gwibber/microblog/util/__init__.py 2010-08-22 18:35:55 +0000
@@ -26,7 +26,7 @@
26 '){2,}' # at least two characters in the main url part26 '){2,}' # at least two characters in the main url part
27 ')') % ('|'.join(URL_SCHEMES),)27 ')') % ('|'.join(URL_SCHEMES),)
2828
29PARSE_LINK = re.compile(URL_FORMAT)29PARSE_LINK = re.compile(URL_FORMAT, re.U)
30PARSE_NICK = re.compile("\B@([A-Za-z0-9_]+|@[A-Za-z0-9_]$)")30PARSE_NICK = re.compile("\B@([A-Za-z0-9_]+|@[A-Za-z0-9_]$)")
31PARSE_HASH = re.compile("\B#([A-Za-z0-9_\-]+|@[A-Za-z0-9_\-]$)")31PARSE_HASH = re.compile("\B#([A-Za-z0-9_\-]+|@[A-Za-z0-9_\-]$)")
32PARSE_URLS = re.compile(r"<[^<]*?/?>") 32PARSE_URLS = re.compile(r"<[^<]*?/?>")