On Sun, Aug 30, 2009 at 18:58, Hans<desi...@softflow.co.uk> wrote:
>
> PS: this simpler pattern did not work:
>
> /\[([...@=])(.*?)($pat)(.*?)\1\]/
>
> because in string with $pat = xxx like
>
> [...@abc@] xxx [...@def@]
>
> it would match the lot, rather than failing because $pat is not in
> either of the two [...@....@] markup brackets.
>
> so I am scratching my head...
>
> Hans

Perhaps you could use the same kind of trick I used in MarkupExprPlus,
ie. abuse of the Keep stack and only have simple tokens to process.

-- 
Dominique

_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to