|
#1
|
|||
|
|||
Logical Operators in "Filename" field (bottom search field)
I know this may be a long-shot request, but would it be feasible to implement logical operators (AND, NOT, OR, etc) functionality into the "filename" search field in the Downloads and LinkGrabber tabs?
How I use JD is often for large image collecting using it's webcrawling capabilities. This can often pose a problem when the files that are being gathered are a mixed assortment. The logical operators can help me filter out the Linkgrabber before proceeding with the download. Example: I can have it display all files that "do NOT have" whatever criteria I set. Then once displayed, simply delete them and then proceed to download the rest. I understand the Packagizer can somewhat achieve this same thing, however, it has to be set-up each time with new criteria's I may encounter. I'm hoping for something a little more dynamic and "on-the-fly". Any alternative suggestions are always welcome. thanks |
#2
|
||||
|
||||
only way todo this is with regex currently for example: (?!not|stuff|here)(wants|baah)
for memory you have to enable this in advanced settings
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 25.01.2023 at 00:35. |
#3
|
||||
|
||||
Two possibilities on how to use RegEx search:
1. Use this syntax inside the field: Code:
regex:yourRegularExpression Code:
GeneralSettings.filterregex
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#4
|
|||
|
|||
I was almost certain some similar function already existed in the program and I just missed it. haha
I openly admit that I've never been really good at regex, but it's nothing I can't learn, I'm sure. Thanks again, guys! |
#5
|
||||
|
||||
Thanks for your feedback!
Quote:
Here is a webtool I recommend for testing/practising: regex101.com
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#6
|
|||
|
|||
Yes, thank you. I'm familiar with regex101. I've used it in the past for other projects.
However, as a regular PC user, I suppose the question comes down to which of the following (as a user) would work more easily and often for me: Entering regex:^((?!example).)*$ or NOT example Of course, this doesn't factor in a search string such as "forest AND winter AND NOT snow". The RegEx equivalent would be rather lengthy. But I can copy & paste my expressions every time I needed it (once I figure them out), so it does still serve the function that I was looking for. Tho, I will need 3 different expressions for the 3 major logical functions (AND, NOT, OR). But I can make it work. I'm not that picky for a solution on something this small. I'll consider this closed on my end since I was given a functioning solution. Thanks again for you responses and solution. |
#7
|
||||
|
||||
most welcome!
I recall using one piece of software many moons ago that allow layered searching, so somethinghere [enter] somethingelse and it would find content with somethinghere and somethingelse, after the first enter it would clear the textbox and show X for memory in the search box so you knew you had layered search active. quite useful, considering regex wasn't required (not sure if it was supported), but still didn't have not or or functions.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#8
|
||||
|
||||
@helo
We got a whole collection ticket for searchbar suggestions: If you search through our forum you will find similar threads e.g.: https://board.jdownloader.org/showth...=search+filter https://board.jdownloader.org/showpo...98&postcount=3 ...and many more. While we do collect suggestions for this I don't see any chances of anyone working on this ever at this moment...
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
Thread Tools | |
Display Modes | |
|
|