something is broken in search

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
yusef88
Posts: 1126
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

something is broken in search

Post by yusef88 »

in XYplorer 18.50.0011 this search doesn't seem to work:

Code: Select all

!>[أ-ي]
latest 18.50.0011.jpg
latest 18.50.0011.jpg (102.87 KiB) Viewed 829 times
but it works in old version, XYplorer 15.80.0200
old 15.80.0200.jpg
old 15.80.0200.jpg (119.54 KiB) Viewed 829 times
another question: why this pattern doesn't work?

Code: Select all

 !>[a-z]

highend
Posts: 13317
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: something is broken in search

Post by highend »

There isn't a simple NOT for complex regex expressions so your pattern !>[a-z] is
interpreted in a different way. Use the help switch to find out how...
One of my scripts helped you out? Please donate via Paypal

yusef88
Posts: 1126
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: something is broken in search

Post by yusef88 »

highend wrote:There isn't a simple NOT for complex regex expressions so your pattern !>[a-z] is
interpreted in a different way.
you mean in general or XYplorer in particular because Search Everything can ignore !>[a-z]

Code: Select all

regex:![a-z]

highend
Posts: 13317
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: something is broken in search

Post by highend »

Different regex languages have different options / capabilities. As I said, use the help
switch to find out how XY interprets it...
One of my scripts helped you out? Please donate via Paypal

yusef88
Posts: 1126
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: something is broken in search

Post by yusef88 »

sorry but The help doesn't explain why :
>[^\u0000-\u007F]+ can ignore Basic Latin characters but >[\u0000-\u007F]+ can't match them!
>[\u0980-\u09FF]+ can match Bengali characters but >[^\u0980-\u09FF]+ can't ignore them!

highend
Posts: 13317
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: something is broken in search

Post by highend »

I didn't say anything about unicode, I was only referring to your NOT expression

But:
>[\u0000-\u007F]+ can't match them!
Sorry, but I can't reproduce this...
match.png
match.png (41.01 KiB) Viewed 771 times
Can't say anything about Bengali stuff, not my language...
One of my scripts helped you out? Please donate via Paypal

yusef88
Posts: 1126
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: something is broken in search

Post by yusef88 »

does your folder contain only English names? because it matches everything here
en.jpg
en.jpg (308.32 KiB) Viewed 767 times
only matches Bengali
ban.jpg
ban.jpg (191.4 KiB) Viewed 767 times

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: something is broken in search

Post by admin »

Help Switch means you append /? to the search pattern. You will get something like this then:

Code: Select all

Query:  >[^\u0000-\u007F]+ /?
Parsed: RegEx[[^\u0000-\u007F]+]

Search: Quick Search
Mode: RegExp
FindBoolSmartDetect: Yes
ExtendedPatternMatching: No
MasterInvert: No
Tags DB Only: No

Post Reply