Rene.Kloos@esa.int scribbled on 5/4/07 8:57 AM:
> I have used the following ReplaceRule:
>
> ReplaceRules regex !3adm0127\.nsf/\w+?/!3adm0127.nsf/LookUpByUniqueID/!
>
> but it simply refuses to do the job.
>
> The regular expression is valid, I have tried it out in a Perl script because
> I was going bananas. Mind the question mark in \w+? to avoid the default
> greediness!
>
I'm not a ReplaceRules expert, but I believe that the regex library is the C
regex lib, not the Perl regex, so they aren't 100% compatible.
I would try it without the ? -- just \w+
that won't match the next / because it's not a \w so you don't need to turn off
the greedy feature.
--
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri May 4 10:01:57 2007