#1
|
|||
|
|||
![]()
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 |
#2
|
||||
|
||||
![]()
pls give us your regex you are using and the ip range you wanna restrict
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
![]()
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** |
![]() |
Thread Tools | |
Display Modes | |
|
|