Quote:
That depends on whether you pass in the -E flag. See the find man page.
On the find man page for the -regex and -regex parameters, here is the information:
-regex pattern
True if the whole path of the file matches pattern using regular
expression. To match a file named './foo/xyzzy', you can use
the regular expression './[xyz]' or './foo/.', but not
'xyzzy' or '/foo/'.
-iregex pattern
Like -regex, but the match is case insensitive.
P.S. This forum modifies forum posts so that symbols disappear. There is a double left slash in this expression, and the forum deleted one slash and only one slash remained: './[^~][^/]\. xlsm$'