[pmwiki-users] Another scripting question - urls

Jan Erik Moström lists at mostrom.pp.se
Wed Apr 30 05:10:33 CDT 2008

Today I managed to find the correct function, so in case someone 
else wants to do something similar - this is the line that 
solved my problem

$text = preg_replace("/\[(.+?)\]\(wiki:(.+?)\)/e",'MakeLink($pagename,"\\2","\\1")',$text);

Jan Erik Moström, www.mostrom.pp.se

More information about the pmwiki-users mailing list