On Thu, Apr 12, 2007 at 02:19:11PM +0100, Hans wrote:
> I am failing to get the following breakpage markup to run the
> function. Can someone tell me what I am missing?
> 
> if ($action=='browse')
>    Markup('breakpage3','>include','/^#foxbegin.*$/se',
>       "FoxForumPageBreak(\$pagename,PSS('$0'))");
> 
> The echo is my debug tool. I never get it.
> 
> The page has several #foxbegin lines in it, all at a line start.

Your pattern probably needs to be

    /^#foxbegin/me

Without a /m flag, the ^ means "beginning of string", not 
"beginning of line".  

Pm

_______________________________________________
pmwiki-devel mailing list
[EMAIL PROTECTED]
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to