Use of # symbol in search term

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
geoffyates
Posts: 65
Joined: 15 Feb 2008 12:55

Use of # symbol in search term

Post by geoffyates »

I am having issues with use of the # character in a search term. It seems it will not match a single digit even it is known that more than one is there to be found.

*-?.jp* found 4 with *-2.jpg
*-#.jp* found 0
*-[#].jp* found 0

Win 8.1 x64
XY 26.90.0300
100%

RalphM
Posts: 2110
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Use of # symbol in search term

Post by RalphM »

Please read up on Quick Search in the help and note the /E switch in the description (Enforce Extended Pattern Matching).
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

geoffyates
Posts: 65
Joined: 15 Feb 2008 12:55

Re: Use of # symbol in search term

Post by geoffyates »

I am using Info Panel Find Files, and not Quick Search.

Does that make any difference?

RalphM
Posts: 2110
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Use of # symbol in search term

Post by RalphM »

Yes and it looks like this is a bug.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

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

Re: Use of # symbol in search term

Post by admin »

Works fine here.

Either tick Configuration | Find and Filter | Find Files & Branch View | Find Files | Enable extended pattern matching

Or append /E as RalphM already suggested.

geoffyates
Posts: 65
Joined: 15 Feb 2008 12:55

Re: Use of # symbol in search term

Post by geoffyates »

Thanks to admin and RalphM for your help!

Searching only for one digit now works just fine.

I am now trying to search for 3 digits, 2 digits, and one digit. I have tried separating the search terms with 'pipe' characters but this is not working. I tried both the traditional '¦' pipe and the new '|' one but neither of them work.

*-###.jp*|*-##.jp*|*-#.jp*

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

Re: Use of # symbol in search term

Post by admin »

Try any of these:
*-###.jp* OR *-##.jp* OR *-#.jp* *-###.jp* | *-##.jp* | *-#.jp* *-###.jp*;*-##.jp*;*-#.jp*

Post Reply