Changes between Version 12 and Version 13 of CodeTagsPlugin


Ignore:
Timestamp:
Jul 2, 2007 11:32:26 AM (7 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CodeTagsPlugin

    v12 v13  
    4444}}} 
    4545 
     46I Think This Approach is better the Regex Matches TAG: AND TAG[SPACE]. 
     47The Above Patch only Matches TAG:Word & TAG::Word and TAG:[SPACE] 
     48{{{ 
     49         for word in self.tags: 
     50             p.append(re.escape(word)) 
     51-        self.tag_re = re.compile(r'(%s)\:?\s*(.*?)\s*$' % '|'.join(p)) 
     52+        self.tag_re = re.compile(r'(%s)[\:\s]+(.*?)\s*$' % '|'.join(p)) 
     53  
     54         cdir = os.path.join(os.path.abspath(env.path), 'cache', 'codetags') 
     55}}} 
     56 
     57 
    4658= Feature Request = 
    4759Since the tracker has no CodeTags component I will put that here: