Do you think this will work ?

                call map(myList,'substitute(v:val, ' . pattern . ', "<item>\r
\n<reference>\\2</reference><type>\\3</type><valeur>0</
valeur><description>\\1</description></item>", "")')

                " sauvegarde dans un fichier temporaire
                let tmpfile = tempname()

                let prefixList += myList

                call writefile(prefixList, tmpfile, "b")

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

To unsubscribe, reply using "remove me" as the subject.

Reply via email to