On 12.01.2007 at 12:00, you wrote:
> On Fri, Jan 12, 2007 at 11:14:51AM +0100, <a
href=&apos;[EMAIL PROTECTED]&apos;>[EMAIL PROTECTED]</a>
wrote:

> If you want to execute a function on a pattern, you need to use the
> /e option on the pattern, and enclose the code to be executed in
quotes.
> Also, if $1 might contain quotes or backslashes in it, you&apos;ll
> want to surround it with PSS().  Thus:
>
>     Markup(&apos;mymu&apos;, &apos;inline&apos;,
>       &apos;/_mymu_ (.*?) <u>mymu</u>/e&apos;,
>       "myFunc(PSS(&apos;$1&apos;))");

Thank you very much, now it works nearly perfect, as long as the whole
strting is in 1 line.
I need to have newlines between my custom markups, e.g.

mymu data 1
data2
data3
mymu

How can I capture the string between the mymu's?

--
Thanks for any help.
Mike



_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to