Can RegEx Support path: And itemcount:?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Can RegEx Support path: And itemcount:?

Post by armsys »

Under Find Files tab:
Can RegEx support path: and itemcount?
The performance of RegEx appears more consistent and reliable than Boolean or Standard modes.

For example, the following pattern never works.
(*.epub|*.mobi) & !(path:css|html)

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

Re: Can RegEx Support path: And itemcount:?

Post by admin »

armsys wrote:Can RegEx support path: and itemcount?
The performance of RegEx appears more consistent and reliable than Boolean or Standard modes.
1) No.
2) Hmm, I don't believe that. Your pattern is simply wrong. Those Boolean operators have to be surrounded by spaces:

Code: Select all

(*.epub | *.mobi) & !(path:css | html)
:)

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Can RegEx Support path: And itemcount:?

Post by armsys »

Thanks for adding clarity, particularly the tip of surrounding the logical operators with spaces.

Post Reply