[pmwiki-users] Hg pattern error

Patrick R. Michaud pmichaud at pobox.com
Thu Apr 26 09:33:30 CDT 2007


On Thu, Apr 26, 2007 at 10:18:58AM -0400, The Editor wrote:
> So just to verify, the first should be changed to the second, is that 
> correct?
> 
> Markup('[[hg', '<var', '/\\[\\[([\\-|\\*|\\^]+)(.*?)\\]\\]/e',
> 'hgLinks1("$1","$2")');
> 
> Markup('[[hg','<links', '/\\[\\[(-|[\\*\\^]+)(.*?)\\]\\]/e',
> "hgLinks1('$1', PSS('$2'))");

Yes, this second one makes _much_ more sense to me.

Pm



More information about the pmwiki-users mailing list