Changeset 34:1bb9b05495eb in misc for wikka2doku.py


Ignore:
Timestamp:
09/01/07 18:47:36 (5 years ago)
Author:
Eriol
Branch:
misc
Convert:
svn:e60e002c-0983-44b9-b2ae-8842d539f768/misc@37
Message:

Added support for named links so they will not changed during autolinks creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wikka2doku.py

    r33 r34  
    8181    autolink = re.compile(r'''\b(?!\[\[)    # Not starting with [[ 
    8282                              ([A-Z][a-z]*[A-Z]+[a-z]+[a-zA-Z]*) # CamelCase 
    83                               (?!\]\])\b # Not ending with ]] 
     83                              (?!\]\]|\|)\b # Not ending with ]] or | 
    8484                              ''', re.VERBOSE) 
    8585    images = re.compile(r'''img="(.*?)"''') 
Note: See TracChangeset for help on using the changeset viewer.