星期二, 12月 05, 2006

轉換Pukiwiki到Trac wiki

暫時找不到好的解決方案, 先採用下列Ultraedit macro來轉換

InsertMode
ColumnModeOff
HexOff
UnixReOn
Top
Find RegExp "^\*\*\*\s*(.*)$"
Replace All "=== \1 ==="
Find RegExp "^\*\*\s*(.*)$"
Replace All "== \1 =="
Find RegExp "^\*\s*(.*)$"
Replace All "= \1 ="
Find RegExp "^---\s"
Replace All " * "
Find RegExp "^--\s"
Replace All " * "
Find RegExp "^-\s"
Replace All " * "
Find RegExp "\[#........\]"
Replace All ""
Find RegExp "\[\[(.+)\]\]"
Replace All "[wiki:\1]"
Find "|"
Replace All "||"
Find RegExp "~$"
Replace All "[[br]]"