Everything and regexp search

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
nsp
Power Member
Power Member
Posts: 1804
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Everything and regexp search

Post by *nsp »

If i want to find all file that start by ABC or BCD, I use the folowing regexp expression

Code: Select all

^(ABC|BCD)
This work fine with TC search but if i tick Everything i do not get correct result.
I can get good result if i use this expression :

Code: Select all

ed:regex:"^(ABC|BCD)"
I added double quote for the regexp expression to work.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Everything can't auto-detect regex so TC has to set the relevant flags
in the SDK IPC calls if user has selected RegEx in the TC search dialog.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
nsp
Power Member
Power Member
Posts: 1804
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

Horst.Epp wrote:Everything can't auto-detect regex so TC has to set the relevant flags
in the SDK IPC calls if user has selected RegEx in the TC search dialog.
THis is exactly the point, I do a regexp search in TC with Everything option. I think that the current implementation pass allready the regex flag or use regexp: marker. I do suspect that the passed expression is not the right one either because of wrong parsing in TC altering | or not quotting if it just use regex: marquer in tthe search.

But for now if we search with both RegExp and Everything it is not working as expected.
Post Reply