Article View: news.software.readers
Article #73722Re: Xnews score file too big for slrn?
From: J.B. Nicholson-Owens
Date: Sat, 17 Mar 2001 06:11
Date: Sat, 17 Mar 2001 06:11
22 lines
1950 bytes
1950 bytes
Thomas Schultz wrote:
> Curly braces do not have a special meaning in slang regular expressions.
I got that from the 'rgrep -?' info, I believe they're meant to repeat the
previous character a certain number of times (even though the rgrep help
compiled into the executable doesn't explicitly say this):
c\{m[,n]\} Matches a repetition of character c (or single-char expression)
at least m times (and, optionally at most n times).
I'm just guessing because I haven't read the source lately but I think there
are limits on m and n. I tried not escaping the curly braces and I couldn't
get them to take on this special meaning without escaping them (not that
this is a problem, just noteworthy in case you try to repeat the
experiment):
% echo 'xhiiiiiix' | ~/jed-B0.99-13/src/objs/rgrep -h 'hi\{3\}'
xhiiiiiix
^^^^ (these 4 characters were in bold print on my terminal)
% echo 'xhiiiiiix' | ~/jed-B0.99-13/src/objs/rgrep 'hi{3}'
%
Technical Details
Message-ID:
<slrn9b5vtc.4s2.jbn@forestfield.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!208.216.67.173!not-for-mailReferences:
<Xns9065E9498E43iamthearm@207.126.101.100> <slrn9b12da.1be.jbn@forestfield.org> <slrn9b4nha.21r.tststs@starflower.tststs.ddns.org>Show Full Headers
Complete Article Headers
Message-ID: <slrn9b5vtc.4s2.jbn@forestfield.org> Subject: Re: Xnews score file too big for slrn? Date: Sat, 17 Mar 2001 06:11:38 +0000 From: jbn@forestfield.org (J.B. Nicholson-Owens) References: <Xns9065E9498E43iamthearm@207.126.101.100> <slrn9b12da.1be.jbn@forestfield.org> <slrn9b4nha.21r.tststs@starflower.tststs.ddns.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!208.216.67.173!not-for-mail Newsgroups: news.software.readers Organization: Forest Field OmniMedia Lines: 21 NNTP-Posting-Host: 208.216.67.173 X-Trace: fu-berlin.de 984809498 3988443 208.216.67.173 (16 [35848]) User-Agent: slrn/0.9.6.4pl4 (Unix)