I was giving a new feature in version 108 a try.
(I tried to use the PhotoNinja *.preview files as a visual proxy)
By doing so, I noticed that PhotoNinja also changes some characters of the original filename (in this case every dot in the filename gets replaced by an underscore).
So I thought I could use the 'Replacement Expression' to cope with that.
As you can see in the screenshot it is not working as I would expect it to work.
Master Filename: 2013-08-03=1257_52-8421=Ereignisse.Feste.Geburtstag.NEF
Version Filename: 2013-08-03=1257_52-8421=Ereignisse_Feste_Geburtstag_NEF.preview
Replacement Expression: /\./_/
So I tried to replace a dot \. with underscore _
but I don't get a match!?
Am I doing something wrong or is this a bug?
Maybe the replacement expression can't work with escaped characters?
The second screenshot shows another strange thing.
After confirming the dialog with OK the replacement string changes to: /\./_//
(an additional slash is appended).
Thanks
Chris
[attachment deleted by admin]
The problem seems to be how the special expression {name} is evaluated. The replacement expression removes the dot and thus {name} evaluates to "2013-08-03=1257_52-8421=Ereignisse_Feste_Geburtstag_NEF". (The suffix _NEF is part of {name})
Try the following:
Master Expression = \.(nef|jpg|jpeg)$
Replacement Expression = \./_
Link Expression = {name}\.preview$
I don't know about the added slash in the replacement expression.
THANKS ilan
that was a brilliant idea ;D
Great you took the time to help me.