This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Help with regexp

Tags: None
(comma "," separated)
zenten
Registered Member
Posts
2
Karma
0

Tue Nov 06, 2007 12:42 pm
Stormhierta wrote:You could just put a general *.mkv in the ignore section for the RSS filters?


Well, I try that in the test line and it makes everything red. If I add it anyway, it doesn't seem to do anything.
jjb123
Registered Member
Posts
1
Karma
0

Sun Mar 02, 2008 9:37 am
Hello, I need some help with this to please.

I am trying to download weekly episodes of a show that are in the format of "Show Name 01x10 HDTV" for example. When I create a filter of show.name.??x??.* and run a test text on the sample name I gave it doesn't work. What am I doing wrong? Thanks.
harleypig
Registered Member
Posts
1
Karma
0

Fri Mar 21, 2008 8:27 am
I use the following:

Show.*Name.*S?\d\d?[xE]?\d\d?

The name of the show can be as many words as needed:

Really.*Long.*Title.*Here.*S?\d\d?[xE]?\d\d?

If the show name is Smash Lab:

Smash.*Lab.*S?\d\d?[xE]?\d\d?

This will match any of the following

Smash Lab S01E01 or
Smash_Lab_1x1 or
Smash.Lab.S1E1

or almost any other combination that I've seen.

The .* matches against any number of characters.

The S? means that a capital S may or may not be there.

The \d\d? is matching one or two digits.

The [xE]? is matching either 'x' or 'E' or nothing.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]