Thread View: news.software.readers
5 messages
5 total messages
Started by Hai Pham
Fri, 28 Nov 1997 00:00
regexp in slrn Score files
Author: Hai Pham
Date: Fri, 28 Nov 1997 00:00
Date: Fri, 28 Nov 1997 00:00
22 lines
1312 bytes
1312 bytes
The spam finally got me *sed off enough to really start playing with the Score file. It's easy enough to create simple filters, but for the life of me, I can't figure out how to create filters with regular expressions. What regexp format does slrn understand anyway...? I've tried perusing through all the slrn documentation and I'm just at the point where I'll start going through the source code... But I thought I'd save myself a few hairs and try here first. :) thanks for any insight into this. hai -- To reply to me by email, please remove 'nospam' from the return address and replace with 'pham'. Hai Pham Loran International Tech., Inc. rnd guy, code monkey & hardware hack. Ottawa, Canada.
Re: regexp in slrn Score files
Author: Jan Hlavacek
Date: Mon, 01 Dec 1997 00:00
Date: Mon, 01 Dec 1997 00:00
17 lines
1290 bytes
1290 bytes
On 28 Nov 1997 14:45:36 GMT, Hai Pham <nospam@loran.ca> wrote:
> expressions. What regexp format does slrn understand anyway...?
If you have rgrep, try to run rgrep --help, it will give you some
description of the slang regexps used also by slrn.
You can also try
http://www.math.ohio-state.edu/~lahvak/software/slang/regexps.html .
--
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu> (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/
Re: regexp in slrn Score files
Author: Sven Guckes
Date: Wed, 03 Dec 1997 00:00
Date: Wed, 03 Dec 1997 00:00
21 lines
1419 bytes
1419 bytes
nospam@loran.ca (Hai Pham): > It's easy enough to create simple filters, but for the life of me, > I can't figure out how to create filters with regular expressions. Need an example? http://www.math.fu-berlin.de/~guckes/slrn/score Also have a look at http://www.math.ohio-state.edu/~lahvak/software/slrn/ ! > What regexp format does slrn understand anyway? I wish I knew. ;-) Sven -- Sven Guckes guckes@math.fu-berlin.de using SLRN 0.9.4.3 [970714] SLRN Pages: http://www.math.fu-berlin.de/~guckes/slrn/ 0.9.4.3 [970714] SLRN Wishlist: http://www.math.fu-berlin.de/~guckes/slrn/wish.html SLRN Author: http://space.mit.edu/~davis/slrn.html John E. Davis aka JED
Re: regexp in slrn Score files
Author: Heikki Kantola
Date: Thu, 04 Dec 1997 00:00
Date: Thu, 04 Dec 1997 00:00
25 lines
1846 bytes
1846 bytes
Jan Hlavacek <lahvak@math.mps.ohio-state.edu> informed news.software.readers with the following: >On 3 Dec 1997 19:58:32 GMT, Holger Lillqvist <lillqvis@cc.helsinki.fi> wrote: >> Try if you have rgrep available on your system. If so, rgrep -? (or, >> if that doesn't work: rgrep '-?') gives a good summary of SLang's >> regexp format, used in jed and slrn. > >Or, if you don't have rgrep (get it!), try >http://www.math.ohio-state.edu/~lahvak/software/slang/regexps.html . >It is basically the output from rgrep, with few comments added. And for the inquiring minds: rgrep comes with the JED editor distribution (or at least source archive, I'm not sure about OS/2 and Windows versions), which can be found atleast from following places: <URL:ftp://space.mit.edu/pub/davis/jed/> <URL:ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/> -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: regexp in slrn Score files
Author: Jan Hlavacek
Date: Thu, 04 Dec 1997 00:00
Date: Thu, 04 Dec 1997 00:00
24 lines
1659 bytes
1659 bytes
On 3 Dec 1997 19:58:32 GMT, Holger Lillqvist <lillqvis@cc.helsinki.fi> wrote:
> Quoting Sven Guckes <guckes@math.fu-berlin.de>:
> > nospam@loran.ca (Hai Pham):
> > > What regexp format does slrn understand anyway?
> >
> > I wish I knew. ;-)
>
> Try if you have rgrep available on your system. If so, rgrep -? (or,
> if that doesn't work: rgrep '-?') gives a good summary of SLang's
> regexp format, used in jed and slrn.
Or, if you don't have rgrep (get it!), try
http://www.math.ohio-state.edu/~lahvak/software/slang/regexps.html .
It is basically the output from rgrep, with few comments added.
lahvak
--
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu> (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/
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