JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04.12.2024, 18:58
Kaydee Kaydee is offline
Ultra Loader
 
Join Date: Jul 2023
Posts: 45
Default RegEx, auf site funktioniert, im JD nicht

Hallo,

ich weiß, ihr gebt keine hilfestellung beim erstellen von regex.

Ich habe das problem, daß es auf der seite (regex101.com) funktioniert...




...aber im JD findet er nichts.






Kann mir vlt. nur jemand sagen, wo ich denn da den (denk-)fehler habe???
Reply With Quote
  #2  
Old 04.12.2024, 19:08
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,653
Default

Have you enabled regex search in advanced settings? By default it is disabled.
Code:
Settings > Advanced settings > GeneralSettings.filterregex
Reply With Quote
  #3  
Old 04.12.2024, 19:42
Kaydee Kaydee is offline
Ultra Loader
 
Join Date: Jul 2023
Posts: 45
Default

Quote:
Originally Posted by mgpai
Have you enabled regex search in advanced settings? By default it is disabled.
Yes, it is enabled (if that's the setting you mean)


Reply With Quote
  #4  
Old 04.12.2024, 19:59
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,653
Default

Quote:
Originally Posted by Kaydee View Post
Yes, it is enabled (if that's the setting you mean)
Yes. That's the one. Your regex seems to be working fine in JD though.



Maybe the devs. can tell why.
Reply With Quote
  #5  
Old 04.12.2024, 20:53
Kaydee Kaydee is offline
Ultra Loader
 
Join Date: Jul 2023
Posts: 45
Default

Quote:
Originally Posted by mgpai
...
Your regex seems to be working fine in JD though.
That's a bit mysterious



Quote:
Originally Posted by mgpai
Maybe the devs. can tell why.
Maybeeeee...


That is before i enter the regex:




With the regex he should only find the KVbell-4, not the other three files but that is the result when i use the regex:





P.S. Sry for my bad english, it's not my main language
Reply With Quote
  #6  
Old 05.12.2024, 10:27
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,623
Default

@Kaydee: Your regex is wrong. You use $ (end) but there is still the file name extension to match
the file name does not end with the 4 but also has
Quote:
.jpg

for example
Code:
regex:bell-4\.
with
Quote:
regex:
you can dynamically enable/disable regex without advanced settings
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 07.12.2024, 17:18
Kaydee Kaydee is offline
Ultra Loader
 
Join Date: Jul 2023
Posts: 45
Default

Quote:
Originally Posted by Jiaz
@Kaydee: Your regex is wrong. You use $ (end) but there is still the file name extension to match
the file name does not end with the 4 but also has
for example
Code:
regex:bell-4\.
...
Ich denke mal, ich hab's kapiert.

"Mein" regex funktionierte (z.b. auch bei mgpai), weil er keine dateiendung hatte und bei mir nich, weil ich bei mir .jpg hatte.
Wenn ich jetzt die endung weg mache, funzt die variante nämlich auch bei mir






Hab ich die endung wieder dran (oder überhaupt i-eine endung), dann ist es deine variante, die dann fündig wird.






Vielen dank für die erleuchtung und die "unfreiwillige" hilfe bei regex
So hab ich wenigstens wieder etwas gelernt...dann war der tag nich ganz umsonst
Reply With Quote
  #8  
Old 07.12.2024, 21:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,623
Default

@Kaydee: nichts zu danken Manchmal sehen einfach mehr Augen mehr
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 01:34.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.