Try adding this to your config file:
$PageTextVarPatterns['var (...)'] =
'/^(\\s*(\\w[-\\w]*)\\s*\\()(.*?)(\\))/m'
Haven't tested it, but that ought to work.
Remove the ^ if you'd like to match things in the middle of a line as
well as at the beginning of one.
eemeli
On 24/04/2008, Dave Cooke <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Is it possible to either alter markup or create new markup for PTV's. It
> would
> suit my purposes if I could define a PTV thus:
> PTV (Value)
> {$:PTV} would then display Value?
>
> DaveC
>
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users