PS:
For your example PTV pattern
<<< (myvar) text
text
and text. >>>
to disallow line breaks after the initial <<<
but still allow spaces,
you could use these definitions:
Markup('<<<var', '<split', '/<<< *\\((\\w[-\\w]*)
*\\)(.*?)>>>/s', '$2' );
$PageTextVarPatterns['<<<var...>>>'] = '/(<<< *\\(*(\\w[-\\w]*)
*\\)(?!\\))\\s?)(.*?)(>>>)/s';
Best, Hans
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users