🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Olaf Titz Sat, 21 Sep 1996 00:00
trn killfile - weak regexps
#26191
Author: Olaf Titz
Date: Sat, 21 Sep 1996 00:00
22 lines
1307 bytes
trn's old-fashioned simple regexp matcher explicitly forbids
\(...\|...\) contructs. It seems this limits the use of \| to
alternate complete patterns.

Does that mean, if I want to kill (in egrep syntax)
 (make|easy|fast|quick).*(money|cash|rich|\$\$\$)
I have to break it up like
 make.*money\|make.*cash\|easy.*money
and so on?

Seems like it would be a good idea to put an alternate regexp matcher
(Spencer's or perl or POSIX on systems that have it?) into trn...

olaf
-- 
___        Olaf.Titz@inka.de or @{stud,informatik}.uni-karlsruhe.de       ____
__ o           <URL:http://www.inka.de/~bigred/>     <IRC:praetorius>
__/<_              >> Just as long as the wheels keep on turning round
_)>(_)______________ I will live for the groove 'til the sun goes down << ____

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads