<div class="gmail_extra">fantastic, thankyou</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 23 April 2012 09:26, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sunday 08 April 2012 13:11:19 Patrick R. Michaud wrote:<br>
> The problem appears to be the definition of $npat on line 1266 of<br>
> pwmiki.php:<br>
><br>
>     $npat = '[[:alpha:]][-\\w*]*';<br>
><br>
> Note that simply adding a dot to the [-\\w]* part of the expression<br>
> won't work, as a pair of dots are used to indicate ranges.<br>
> It probably needs to be something that can recognize a single dot<br>
> in the identifier pattern (i.e., a dot followed by something<br>
> other than another dot).<br>
<br>
</div>Actually, the "#start..#end" pattern is not documented, "#start#end" is. The<br>
easiest way to allow "#a1.2" sections while keeping the "#start..#end" working<br>
is to allow dots, and just strip the possible two trailing dots in the first<br>
section name.<br>
<br>
If I don't see some problem with this solution, I'll add it to the next<br>
release later this month.<br>
<div class="im"><br>
> Also, I suspect the '*' immediately the \\w in the original is a typo.<br>
> And there's an extraneous definition of $npat on line 1311 in the<br>
> IncludeText() function, probably left over from a previous factoring<br>
> of text includes.<br>
<br>
</div>Both fixed.<br>
<br>
Thanks,<br>
<div class="HOEnZb"><div class="h5">Petko<br>
<br>
<br>
_______________________________________________<br>
pmwiki-devel mailing list<br>
<a href="mailto:pmwiki-devel@pmichaud.com">pmwiki-devel@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-devel" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a><br>
</div>