Skip to main content.
home | support | download

Back to List Archive

[swish-e] ReplaceRules

From: <Rene.Kloos(at)not-real.esa.int>
Date: Fri May 04 2007 - 13:57:36 GMT
Thanks for all the help I got so far. I appreciate it!

Here's another question concerning the ReplaceRules. I need to replace a part
of the URL used to access stuff on Domino. A typical example:

..../3adm0127.nsf/4507da022d0c342bc1256ac4003116d/71f809ec9065ce41256b4c004b2c11?OpenDocument

should become:

..../3adm0127.nsf/LookUpByUniqueID/71f809ec9065ce41256b4c004b2c11?OpenDocument

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!

Kind regards,

RenÚ

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri May 4 09:57:37 2007