How to? use @everything perl regex

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Oct 18, 2015
2
0
#1
greetings

using windows xp
take command ver 16
tcc regular syntax perl

issue :
the command

@everything /f "::.\.\d{3}"

returns files as:
E:\00000001.ddd
G:\00000002.ddd
H:\style.DDD

rather then:
H:\default.001
H:\default_backup.001

what is the error in the command ?

best regards

reuven
 
#2
"Search operators, wildcards, macros, modifiers and functions do not work in regex mode." See here ...

http://www.voidtools.com/support/everything/searching/

Edit: So, possible solutions could be:

everything /f /r test\.[0-9][0-9][0-9]

everything /f /r "test\.[0-9][0-9][0-9]"

everything /f ::test\.[0-9][0-9][0-9]

everything /f "::test\.[0-9][0-9][0-9]"

Edit2: If you will avoid machting on "zzz.999.zzz" (means, you will match only files with the SUFFIX ".000-999"), the following variants are even better ...

everything /f /r test\.[0-9][0-9][0-9]$

everything /f /r "test\.[0-9][0-9][0-9]$"

everything /f ::test\.[0-9][0-9][0-9]$

everything /f "::test\.[0-9][0-9][0-9]$"

Greetings
 
Last edited: