recipe for "no non-english audiobooks"

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

recipe for "no non-english audiobooks"

Postby bobkoure » Tue Nov 06, 2007 10:57 am

Code: Select all
(?#english only)\bh[öo]e?rspi?ele?
(?#english only)\baudi?oboek
(?#english only)\bh[öo]rbuch
(?#english only)\blivre\W+audio\b
(?#english only)\bund\W+der\b

Just stick these (one line at a time) into whatever reject list you're using to filter audiobook posts.
Note the comment sections - I find these very useful, when looking at accept/reject patterns and thinking (OK, what the heck does that one do?)

I've also found (?#tmp) very useful in marking short term accept/reject patterns that I expect to get rid of in a couple of days.

Quade - if this is too close to mentioning content, please just delete - thx!
bobkoure
Seasoned User
Seasoned User
 
Posts: 339
Joined: Wed Aug 24, 2005 9:43 am

Registered Newsbin User since: 08/26/05

Postby Quade » Tue Nov 06, 2007 11:47 am

I'm torn. It's close to the line but, not really close enough for me to act. I'll just leave it.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 42302
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Postby bobkoure » Wed Nov 07, 2007 5:14 pm

Well, I was torn about posting it - but how do you post regexes that are useful to other folks without saying, at least in general, what they're for?

How about if we take it down in a week?
bobkoure
Seasoned User
Seasoned User
 
Posts: 339
Joined: Wed Aug 24, 2005 9:43 am

Registered Newsbin User since: 08/26/05

Postby Quade » Wed Nov 07, 2007 6:29 pm

I wouldn't worry about it. They could be public domain I guess.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 42302
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re:

Postby jmilton088 » Fri Feb 10, 2012 2:07 am

bobkoure wrote:Well, I was torn about posting it - but how do you post regexes that are useful to other folks without saying, at least in general, what they're for?
How about if we take it down in a week?

hmmm this is an very infromative thanks dud... Image link not allowed for unregistered users
jmilton088
n00b
n00b
 
Posts: 1
Joined: Fri Feb 10, 2012 2:05 am


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 1 guest

cron