On Tue, Nov 13, 2007 at 04:47:53PM +0000, Hans wrote:
> Tuesday, November 13, 2007, 4:38:50 PM, Hans wrote:
> 
> > I can grab the section apparently, edit it, save it, but the section
> > end anchor is gone, swallowed somewhere along the line.
> > Maybe the pattern needs tweaking?
> 
> I had to remove the ?: before the ending anchor, so the pattern is
> now:
> 
> $PageTextVarPatterns['[[#anchor]]'] =
>   "/(\\[\\[#(\\w[-\\w]*)\\]\\](?: *\n)?)(.*?)(\\[\\[#\\2end\\]\\])/s";

Ah, yes, this is correct.

Pm

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

Reply via email to