Tips on writing regular expressions for searching the post list
Moderators: Quade, dexter
by Kaigi » Tue Oct 21, 2003 2:34 am
Wondering:
if Accept Filters cover 'everything' containing them, then my having:
Burke
B.Burke
Brooke.Burke
in my FILTERS.XML file is redundant? I actually just need the first one, as the second and third add nothing new whatsoever to what the first one would accept?
Thanks!
-
Kaigi
- Seasoned User
-
- Posts: 109
- Joined: Tue Mar 04, 2003 11:23 am
Registered Newsbin User since: 10/24/97
by Smite » Tue Oct 21, 2003 2:38 am
That's right, unless you use ! or uhh... # I think.. then the filters will be considered a match if they occur anywhere withing the search string, not just the begining/end/etc.
-
Smite
- Katamari Damacy Addict
-
- Posts: 5318
- Joined: Sat May 19, 2001 1:54 am
- Location: Alberta, Canada
Registered Newsbin User since: 03/27/03
by Kaigi » Tue Oct 21, 2003 2:46 am
So... this would be where a 'reject' filter might help?
I could add "Brooke" to my Accept list, then add "Burns" and "Shields" to my reject list, and pick up other Brooke Burke pics that might've not had her last name in them?
[If this is correct: "By George, I think I've got it!"]
-
Kaigi
- Seasoned User
-
- Posts: 109
- Joined: Tue Mar 04, 2003 11:23 am
Registered Newsbin User since: 10/24/97
by Quade » Tue Oct 21, 2003 9:43 am
It also depends on how many "Burkes" there are there. If you want to filter them all use "Burke" if just a specific one, then "Brook.*Burke" might be better
-
Quade
- Eternal n00b
-
- Posts: 44981
- Joined: Sat May 19, 2001 12:41 am
- Location: Virginia, US
Registered Newsbin User since: 10/24/97
-
by Smite » Wed Oct 22, 2003 11:37 pm
You'd also pick up Billy Brooke, and any other Brookes out there, but yes, you've got it.
-
Smite
- Katamari Damacy Addict
-
- Posts: 5318
- Joined: Sat May 19, 2001 1:54 am
- Location: Alberta, Canada
Registered Newsbin User since: 03/27/03
by rbose » Thu Oct 23, 2003 1:25 am
This adds nothing to the thread, but I have to say . . . damn sweet search going on there.
-
rbose
- Seasoned User
-
- Posts: 373
- Joined: Tue Jan 14, 2003 3:20 pm
- Location: Chicago Burbs
Registered Newsbin User since: 04/05/03
Return to Regular Expressions
Who is online
Users browsing this forum: No registered users and 2 guests