|
#1
|
|||
|
|||
Filter regex not work (Unicode, Not Unicode)
Filter regex not work :(
Unicode: (?>\x0D\x0A|[\x0A-\x0D\x{85}\x{2028}\x{2029}]) Not Unicode: (?>\x0D\x0A|[\x0A-\x0D]) |
#2
|
||||
|
||||
How about providing example String and what exactly you want to filter?
Also check docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
Oh, What exactly Regex?
Show the filename of the Unicode and non-Unicode. I really like Onigmo regex. |
#4
|
||||
|
||||
Please provide example links or something to work with. I also don't understand what your regex should do.
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
RE版DJ仔.mp3 (Find Unicode Filename)
Bla Bla Bla.mp3 (Find Non-Unicode Filename) Download Only Unicode Filename: **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#6
|
||||
|
||||
When using correct pattern, works fine
Filter -> Filename contains -> .*?[\x0A-\x0D\x{85}\x{2028}\x{2029}]* enable regex
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
Quote:
Code:
System.ArgumentException: analizowanie ".*?[\x0A-\x0D\x{85}\x{2028}\x{2029}]*" - Za ma³o cyfr szesnastkowych. w System.Text.RegularExpressions.RegexParser.ScanHex(Int32 c) w System.Text.RegularExpressions.RegexParser.ScanCharEscape() w System.Text.RegularExpressions.RegexParser.ScanCharClass(Boolean caseInsensitive, Boolean scanOnly) w System.Text.RegularExpressions.RegexParser.CountCaptures() w System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op) w System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, Boolean useCache) |
#8
|
||||
|
||||
that error output isn't from JDownloader
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#9
|
|||
|
|||
Excuse me very much, but I mean "Quick FiltrRegex" in the LinkGrabber or Download list
Example Working Unicode + Addition Ignore Polish alphabet [^\x{00}-\x{7f}\x{104}\x{106}\x{118}\x{141}\x{143}\x{d3}\x{15a}\x{179}\x{17b}\x{105}\x{107}\x{119}\x{142}\x{1 44}\x{f3}\x{15b}\x{17a}\x{17c}] |
#10
|
||||
|
||||
Quote:
Please learn regex yourself!
__________________
JD-Dev & Server-Admin |
#11
|
||||
|
||||
my regex buddy is out of date (old version) but it's stating that the unicode points are invalid for the java package.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#12
|
|||
|
|||
What is the correct Regex for "Quick Filter"?
Because both regex does not work in JD2! |
Thread Tools | |
Display Modes | |
|
|