Can you nest '<>'?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Ralf_Reddings
Posts: 120
Joined: Fri Mar 24, 2023 4:53 pm

Can you nest '<>'?

Post by Ralf_Reddings »

Code: Select all

www.stackoverflow.com/how-to-do-python
www.stackoverflow.com/how-to-do-powershell
www.stackoverflow.com/how-to-do-go
www.stackoverflow.com/how-to-do-c
www.superuser.com/how-to-do-powershell
www.superuser.com/how-to-do-go
www.superuser.com/how-to-do-c
Given the above content found in
.url
files, the following search will match only the file that has
www.stackoverflow.com/how-to-do-python
:

Code: Select all

ext:<url;html> url:<stackoverflow.com;superuser.com> url:python
It does not seem possible to shorten the search down to:

Code: Select all

ext:<url;html> url:<<stackoverflow.com;superuser.com>python>
Something that is essentially the RegEx version of:

Code: Select all

((stackoverflow.com|superuser.com) python)

Is it possible to nest
<>
?

Thanks for any ideas and help.
void
Developer
Posts: 16739
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can you nest '<>'?

Post by void »

Yes, but please make sure you use operators:

ext:url;html url:<<stackoverflow.com|superuser.com> python>

| = OR
space = AND
Ralf_Reddings
Posts: 120
Joined: Fri Mar 24, 2023 4:53 pm

Re: Can you nest '<>'?

Post by Ralf_Reddings »

I knew this program had one more trick up its sleeve, I was just too inept to get it work.
Thank you for the clarification and the reminder for the operators void.
Post Reply