[Pmwiki-users] Another interlink-pattern issue
Christian Ridderström
chr
Mon Jan 12 10:03:01 CST 2004
On 12 Jan 2004, John Rankin wrote:
>> 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.
>
> Well you could try
>
> \.[^\.]
>
> which should be a dot followed by not a dot.
>
> JR
deja vu... we've actually discussed exactly that suggestion before :-)
/Christian
--
Dr. Christian Ridderstr?m, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list