User:Mathieu/Notes
From Event-B
< User:Mathieu
Jump to navigationJump to searchRevision as of 13:45, 1 September 2008 by imported>Mathieu (New page: == vim regex == to replace an ASCII/symbol row to the equivalent wiki notation <pre><nowiki> :s/\\; *\\; *\\; *\\texttt{\(.*\)} *\\; *\\; *& *\\; *\\; *\(.*\) *\\; *\\; *\\; *\\\\.*$/|-^M|...)
vim regex
to replace an ASCII/symbol row to the equivalent wiki notation
:s/\\; *\\; *\\; *\\texttt{\(.*\)} *\\; *\\; *& *\\; *\\; *\(.*\) *\\; *\\; *\\; *\\\\.*$/|-^M|\1||<math>\2<\/math>/g