Welcome to the Mythicsoft Q&A site for:

- Agent Ransack
- FileLocator Lite
- FileLocator Pro

Please feel free to ask any questions on these products or even answer other community member questions.

Useful Links:

- Contact Us
- Help Manuals
- Mythicsoft Home
0 votes

I created a persistent search filter to exclude some common Visual Studio / development folders. However, when combined with a wild card, the filter fails. But, the wildcard filter works when in a separate regex filter.

Fails:

\\(obj|bin|TestResults|\.vs|_NCrunch_*)\\

Succeeds as 2 separate filters:

\\(obj|bin|TestResults|\.vs)\\
\\(_NCrunch_*)\\

How can I combine the 2 filters into one filter?

by (120 points)

1 Answer

0 votes

You mention 'wildcard filter' but there is no wildcard filter in your expression. With regex a wildcard would look like this:

.*

Your use of '*' would just match zero or more '_'.

Try changing your expression to:

-\\(obj|bin|TestResults|\.vs|_NCrunch_.*)\\
ago by (87.5k points)
...