Changes between Version 12 and Version 13 of CodeTagsPlugin
- Timestamp:
- Jul 2, 2007, 9:32:26 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeTagsPlugin
v12 v13 44 44 }}} 45 45 46 I Think This Approach is better the Regex Matches TAG: AND TAG[SPACE]. 47 The 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 46 58 = Feature Request = 47 59 Since the tracker has no CodeTags component I will put that here: