[Pmwiki-users] Another interlink-pattern issue

Christian Ridderström chr
Sat Jan 10 17:21:17 CST 2004


On Fri, 9 Jan 2004, Patrick R. Michaud wrote:

> On Fri, Jan 09, 2004 at 12:37:43PM +1300, John Rankin wrote:
> > 
> > I noticed that the problem is no longer there at pmichaud.com... so I 
> > guess you have removed the '|' from $UrlPathPattern, is that it?
> 
> I did remove the '|' from the $UrlPathPattern for testing purposes at
> pmichaud.com but didn't intend it to be a permanent change (i.e., I forgot
> to undo the change).  I haven't committed to any solution yet.

Oh... maybe you should run test versions of pmwiki.php through a different 
URI (I've been noticing 'disturbances' on the pmichaud site btw, which I 
assume have been you testing things)

> 
> > Do these have || or just | -- might it be possible to allow | in a URI
> > but treat || as a table delimiter?
> 
> Not easily with the current setup.  It's fairly hard to craft patterns
> that allow single characters but exclude repeated ones.  I think I'd
> prefer the "null character" approach where something terminates the URL
> without introducing extra markup.

I know :-( I've been trying to define a pattern for a path that allows '.' 
but not '..'. In the end I decided to work around it in another way. It's 
kind of strange that regexps don't (AFAIK) have a 'not' operator.

/Christian

-- 
Dr. Christian Ridderstr?m, +46-8-768 39 44       http://www.md.kth.se/~chr




More information about the pmwiki-users mailing list