Trying to match files that dont start with a number in smartrule with no success

Hi all

Im trying to match files that dont start with a number in smartrule with no success. here is what i tried

yet this returns an empty list, i checked and have many files there that dont start with a number

any clue?
Z

Anchors are a regex syntax, unsupported in this kind of criterion.

Use Name matches ![0-9]*.

thx so much @BLUEFROG

this works well but for me to understand better for the future, can you expand on why regex is “unsupported in this kind of criterion”. I did look at the help before trying to match and it said regex is supported in smart rules. Apologies in advance if this is a trivial question :slight_smile:

best

Z

1 Like

Regexes are only supported in the “scan name” and “scan text” actions of smart rules.
You’re trying to match a name, and that is not an action.
To matches, the usual search syntax applies. And that does not include regular expressions. It is detailed in the manual’s chapter on search (prefixes, operators etc)

3 Likes

thx so much @chrillek !