Project

General

Profile

« Previous | Next » 

Revision 6636

dict2redmine: Added url_comment_re

View differences:

bin/dict2redmine
10 10

  
11 11
##### URLs
12 12

  
13
url_comment_re = r'(?:\([^)]*\))'
14

  
13 15
def simplify_url(url): return re.sub(r'\(.*?\)', r'', url)
14 16

  
15 17
def url_comment_text(comment):

Also available in: Unified diff