I'm not sure where the issue is, but i'm having issues without getting results when using regex with ^
As seen in the attachment, in everything, regex:^shell returns results, but if i'm using the sdk, the same query returns no results
I'm didn't use Everything_SetRegex, that's why Regex sayas false on the second line.
SDK regex ^ bug?
SDK regex ^ bug?
- Attachments
-
- Screenshot 2024-05-25 202903.png (28.29 KiB) Viewed 1638 times
Re: SDK regex ^ bug?
Please try without path matching.
C:\windows\shell.example.png will not match the regex pattern: ^shell
C:\windows\shell.example.png will not match the regex pattern: ^shell
Re: SDK regex ^ bug?
yes without path matching, ^ works
but why is this the case?
$ works with patch matching, why not ^?
but why is this the case?
$ works with patch matching, why not ^?
- Attachments
-
- Screenshot 2024-05-25 213904.png (64.75 KiB) Viewed 1631 times
Re: SDK regex ^ bug?
For file C:\Windows\notepad.exe, everything will use the part after the last backslash (notepad.exe) for its searches.
So regex:^note will find it.
If Match Path is enabled, Everything will consider the filename to incude the path and will search in the fully qualified filename (C:\Windows\notepad.exe)
regex:^note will *not* find notepad.exe as the full filename does not start with note
regex:^C:\\W on the other hand will find it (among all other files and folders in the Windows folder)
In both cases the end of the filename, anchored by "$", will still be the same.
Some alternatives to find file/foldernames starting with "shell" anyway while Match Path is enabled:
regex:nopath:^shell
nopath:startwith:shell
With Everything 1.5, which you seem to be using:
regex:basename:^shell
**\shell*
So regex:^note will find it.
If Match Path is enabled, Everything will consider the filename to incude the path and will search in the fully qualified filename (C:\Windows\notepad.exe)
regex:^note will *not* find notepad.exe as the full filename does not start with note
regex:^C:\\W on the other hand will find it (among all other files and folders in the Windows folder)
In both cases the end of the filename, anchored by "$", will still be the same.
Some alternatives to find file/foldernames starting with "shell" anyway while Match Path is enabled:
regex:nopath:^shell
nopath:startwith:shell
With Everything 1.5, which you seem to be using:
regex:basename:^shell
**\shell*