[pmwiki-users] Hg pattern error

Patrick R. Michaud pmichaud at pobox.com
Thu Apr 26 08:34:40 CDT 2007


On Thu, Apr 26, 2007 at 02:18:55PM +0100, Hans wrote:
> Thursday, April 26, 2007, 1:58:58 PM, the wrote:
> 
> > Just tried Cluster -- same pattern-error results with the Triad skin.
> > No problem with the default PmWiki skin. (although the URLs are now
> > clean in both skins)
> 
> the pattern appears as regex pattern in Cluster's (and Hg's)
> Markup for link shortcuts: ca. line 76
> 
> try to comment the markup definition, to see if the problem goes away.
> And then we are a little closer to look at reasons for this.
> 
> Markup('[[cluster','<var','/\\[\\[(-|[\\*\\^]+)(.*?)\\]\\]/e',
>     'ClusterLinks($pagename, "$1", "$2")');
> 
> ca line 140 in Hg;
> 
> Markup('[[hg','<var','/\\[\\[([\\-|\\*|\\^]+)(.*?)\\]\\]/e',
>      'hgLinks1("$1","$2")');

FWIW, I just did a sandbox installation of triad and hg
and switching the replacement pattern to

    "hgLinks1('$1', PSS('$2'))"

appears to solve the problem.  I'm looking now to see
what the original error was that was causing it, however.

Pm



More information about the pmwiki-users mailing list