Tips on writing regular expressions for searching the post list
Moderators: Quade, dexter
by obvious » Wed Jul 04, 2001 11:33 am
LAST EDITED ON 07-04-01 AT 10:34 AM (EST) Hi,
I understand there are changes in 3.32B3 with regard regular expression parsing. I'm trying to do a global exclude based on substring search within file/subject name.
Lets say I wanted to download any post with "fred" in the subject line. I would previously add "*fred*" to the 'accept matching subjects' list.
How would I do that now?
Thanks in advance
Ref:
http://www.djii.com/cgi-bin/dcforum/dcb ... DCForumID7
-
obvious
- Seasoned User
-
- Posts: 584
- Joined: Wed Jun 06, 2001 8:30 pm
Registered Newsbin User since: 04/13/03
by Quade » Wed Jul 04, 2001 11:52 am
Just add "fred" without the quotes. It'll match anywhere in the filename. You might or might not want this in the subject filter since it will match anywhere. It'll match a subject like:
"fred likes his bikini - bikini.jpg"
You could require a file extension appear in the subject though with something like
fred.*[.]jpg
fred.*[.]avi
fred.*[.]
It would still match bikini
-
Quade
- Eternal n00b
-
- Posts: 44984
- Joined: Sat May 19, 2001 12:41 am
- Location: Virginia, US
Registered Newsbin User since: 10/24/97
-
by obvious » Sun Jul 08, 2001 9:28 pm
Adding "fred" without the quotes works in the filename filter but seems not to in the subject filter.
Just feedback. I know you are working on it
-
obvious
- Seasoned User
-
- Posts: 584
- Joined: Wed Jun 06, 2001 8:30 pm
Registered Newsbin User since: 04/13/03
Return to Regular Expressions
Who is online
Users browsing this forum: Google [Bot] and 2 guests