manyixu / rssdler

Automatically exported from code.google.com/p/rssdler
0 stars 0 forks source link

Multiple RegExTrue statements? #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Is there any chance to use multiple RegExTrue statements, because my regex
became very long and does not fit on 80 column screen, and I'd like to
split it into several parts (to be able to comment these parts separately),
but right now if I write several RegExTrue statements, only the last one
really works, the previous are just ignored (?).

Original issue reported on code.google.com by lenik.terenin on 19 Jan 2010 at 5:01

GoogleCodeExporter commented 8 years ago
I too would like to be able to do this.
It's easier to match small chunks of the field at a time than hoping that all 
the 
things you want matched are always in the same order.

e.g. you may get showname codec resolution.filetype sometimes
and showname resolution codes.filetype at others

it would be great if all regExTrue mpatterns were checked and only feed entries 
which 
match all of them get downloaded (boolean AND)

It would probably be useful if regExFalse had the same behaviour.

Original comment by nor...@gmail.com on 6 Feb 2010 at 8:03

GoogleCodeExporter commented 8 years ago
boolean OR !!

file is supposed to be downloaded if at least one RegExTrue evaluates to True, 
so the
pattern can be split into several pieces, which could be modified and/or 
commented
out separately without any influence to the other patterns.

Original comment by lenik.terenin on 7 Feb 2010 at 1:35