1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to? use @everything perl regex

Discussion in 'Support' started by rbigos, Oct 31, 2015.

  1. rbigos

    Joined:
    Oct 18, 2015
    Messages:
    2
    Likes Received:
    0
    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. Alpengreis

    Joined:
    Jan 12, 2014
    Messages:
    229
    Likes Received:
    6
    "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
     
    #2 Alpengreis, Oct 31, 2015
    Last edited: Nov 2, 2015
  3. rbigos

    Joined:
    Oct 18, 2015
    Messages:
    2
    Likes Received:
    0
    Alpengreis

    Thank you very much

    be well.
     

Share This Page