I am using the regexpdir tool to select files in a directory. I works for simple file suffixes as show on the example using the expression ‘^.*.tif$’. But now I want to search for the ending - DicNr1_ORG.tif and tried it with
^.*\. - DicNr1_ORG.tif$
The whole code is then
regexpdir(objEntry.('dir'), '^.*\. - DicNr1_ORG.tif$', false)
But then the result is an empty list.
How would the correct regexp look like?
or just