[pmwiki-users] Great pagelist question...
Patrick R. Michaud
pmichaud at pobox.com
Wed Aug 30 15:53:26 CDT 2006
On Wed, Aug 30, 2006 at 04:30:41PM -0400, The Editor wrote:
> One question, through:
> Since my recipe saves the data as field="value" in the wiki page,
> rather than field: value, does this mean it won't work for me? or that
> I will have to do something different with the recipe?
In all likelihood the patterns for obtaining the fields and values
from the markup will be configurable variables, so you could use
whatever format(s) you want. For field="value", it'd be
$PDataPattern = '/^(\\w+)="(.*?)"/m';
FWIW, the current default pattern that PData is using is
$PDataPattern = '/^:*(\\w[-\\w]*):(?:\\s?(.*))$/m';
More information about the pmwiki-users