negative regular expressions?

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

negative regular expressions?

Postby spotter » Fri Aug 08, 2025 2:24 am

I'm wondering if its possible to do negative regular expressions (my attempt at ?! groups didn't work). i.e. find all posts that don't have a yEnc in them.
spotter
Seasoned User
Seasoned User
 
Posts: 177
Joined: Tue Feb 12, 2002 12:00 pm

Registered Newsbin User since: 05/05/06

Re: negative regular expressions?

Postby Quade » Tue Aug 12, 2025 12:54 am

You can make a filter profile apply "yenc" as a "Subject Reject" filter then when you want to show only posts with no "yenc" apply the filter profile. It'll then hide all posts with "yEnc" in the subject.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 45073
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: negative regular expressions?

Postby spotter » Tue Aug 12, 2025 1:45 am

yes, I figured that out, just thought there might be value to negative regular expressions as well.
spotter
Seasoned User
Seasoned User
 
Posts: 177
Joined: Tue Feb 12, 2002 12:00 pm

Registered Newsbin User since: 05/05/06

Re: negative regular expressions?

Postby Quade » Wed Aug 13, 2025 5:44 pm

I'm not an RE expert but it feels like it's primarily for matching not rejecting.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 45073
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 2 guests