0 votes

I'm trying to use an RE pattern in the Look In field, but I'm getting the error message:
Errors occurred during search. If the problem persists please contact technical support

I'm using an RE pattern in File Name:
^.*.(doc|docx)$

Containing Text is blank

I'm trying this RE pattern in Look In, but it fails:
^\\lniaptum01\HEATROOT\Attachments\00(322074|351360|449769|450247|500689|513557|562620|571408|571659|573544|574292|580176|582659)\$

If I switch Look In to DOS Expression, and search here, it works:
\lniaptum01\HEATROOT\Attachments\00322074\

by (730 points)
I thought I figured it out, but no dice.

Two of the folders don't actually exist, so I updated the RE pattern to this:
^\\\\lniaptum01\\HEATROOT\\Attachments\\00(322074|351360|449769|450247|500689|513557|562620|571408|571659|574292|582659)\\$

Same error
OK, I think I partially figured it out.

I copy and pasted the locations into the Multiple Folders dialog.

The error occurs if I use a folder location that does not exist.

However, the folders in the RE pattern all exist, and I get the error.

1 Answer

+1 vote
 
Best answer

The expression handling for Look In fields is different than for the other fields. Each path segment is matched individually against the expression which means that the value in the Look In field is not handled as One Big Expression. The backslash '\' is the segment marker and shouldn't be escaped. Try this instead:

\\lniaptum01\HEATROOT\Attachments\00(322074|351360|449769|450247|500689|513557|562620

You don't mention which version you're using?

by (29.5k points)
OK, that works. I have both FLL and FLP, but for this I'm using FLP 7.5, Build 2070.
...