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', '/&lt;&lt;&lt; *\\((\\w[-\\w]*) 
*\\)(.*?)&gt;&gt;&gt;/s', '$2' );

$PageTextVarPatterns['<<<var...>>>'] = '/(<<< *\\(*(\\w[-\\w]*) 
*\\)(?!\\))\\s?)(.*?)(>>>)/s';



Best, Hans


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

Reply via email to