🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #33381

Re: slrn : regular expressions

#33381
From: Hrvoje Niksic
Date: Wed, 07 May 1997 00:00
21 lines
1765 bytes
lahvak+n@math.ohio-state.edu (Jan Hlavacek) writes:

> The problem is that slang regexps cannot fork.  There is nothing
> like | or \|.  And you are right, ^ matches the begining of line
> only when it's the first character in the regexp, otherwise it just
> matches literal ^.

It should be feasable to improve Slang regexps by using the better
ones, provided by free RE libraries.  GNU regex and rx come to mind,
but there are others.

Are there any special reasons why Slang couldn't use those?

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Unspeakable horrors from outer space paralyze the living and
resurrect the dead!

Technical Details
Message-ID: <kigu3kfq3lu.fsf@jagor.srce.hr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn5munl8.63.guido.notari@pcmmlab3.jrc.it> <5ko4p0$s2e$1@news.netusa.net> <slrn5n0234.mf.lahvak+n@math.mps.ohio-state.edu>

Show Full Headers
Complete Article Headers
Message-ID: <kigu3kfq3lu.fsf@jagor.srce.hr>
Subject: Re: slrn : regular expressions
Date: Wed, 07 May 1997 00:00:00 +0000
From: Hrvoje Niksic <hniksic@srce.hr>
References: <slrn5munl8.63.guido.notari@pcmmlab3.jrc.it> <5ko4p0$s2e$1@news.netusa.net> <slrn5n0234.mf.lahvak+n@math.mps.ohio-state.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 239889272
Distribution: world
Sender: hniksic@jagor.srce.hr
Mail-Copies-To: never
X-Save-Project-Gutenberg: <URL:http://www.promo.net/pg/nl/pgny_nov96.html>
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
Organization: SRCE Zagreb, Croatia
X-Attribution: Hrv
Newsgroups: news.software.readers,alt.fan.e-t-b