JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 22.03.2009, 10:29
caro23
Guest
 
Posts: n/a
Default Please fix Regex

Hi all,

RegEx doesn't work, nothing happens if you try to restrict the IP adress range.

I'm using the Java regex specifications, right?

Thanks in advance,
Caroline
Reply With Quote
  #2  
Old 22.03.2009, 12:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,456
Default

pls give us your regex you are using and the ip range you wanna restrict
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 22.03.2009, 21:57
Gemmor
Guest
 
Posts: n/a
Default

Yes, that's right! I wrote it in this thread: http://board.jdownloader.org/showthread.php?t=35

For example, I want to enable only IPs beginning from 77 and 87 only. I did it this way: \b(77|87)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b

Or if I want to restrict IPs beginning from 84. \b([^84])\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b

I talked to DwD about this issue since build 812. He told me it will be fixed in the next build. As you can see it wasn't fixed.

Here's the basics: **External links are only visible to Support Staff****External links are only visible to Support Staff**
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 06:29.
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 - 2019, Jelsoft Enterprises Ltd.