es.exe regex with anchors
Posted: Wed Mar 22, 2017 2:29 am
If I execute the following command:
es.exe -r -n 1 -sort date-modified-descending ^Word.exe$
The output is:
C:\Program Files (x86)\Microsoft Office\root\Office16\WINWORD.EXE
I don't expect WINWORD.EXE to match ^Word.exe$ so it looks like my regex start of word anchor ^ has been ignored, or else I am doing something wrong.
Regards, AB
es.exe -r -n 1 -sort date-modified-descending ^Word.exe$
The output is:
C:\Program Files (x86)\Microsoft Office\root\Office16\WINWORD.EXE
I don't expect WINWORD.EXE to match ^Word.exe$ so it looks like my regex start of word anchor ^ has been ignored, or else I am doing something wrong.
Regards, AB