~m4v/+junk/shout

« back to all changes in this revision

Viewing changes to plugin.py

  • Committer: Elián Hanisch
  • Date: 2009-04-28 22:54:51 UTC
  • Revision ID: lambdae2@gmail.com-20090428225451-9tp2xrov4nrf6kvj
minor fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        regEmo = re.compile(r'<!--emo&(.+?)-->')
36
36
        regBrokenUrls = re.compile(r"<a href='([^<>]+)' target='_blank'>[^<>]*</a>")
37
37
        regAmp = re.compile(r'&(\w+=)')
38
 
        regQuoteBegin = re.compile(r'<!--QuoteBegin-->')
 
38
        regQuoteBegin = re.compile(r'<!--QuoteBegin(-.*?)?-->')
39
39
        regQuoteEnd = re.compile(r'<!--QuoteEnd-->')
40
40
        
41
41
        regSub = ((regEmo,r' \1 '),(regAmp,r'&amp;\1'),(regBrokenUrls,r' \1 '),