Article View: news.software.readers
Article #50481Re: slrn: how do I match "["?
From: Dawn Owens-Nicholson
Date: Mon, 09 Aug 1999 00:00
Date: Mon, 09 Aug 1999 00:00
16 lines
1144 bytes
1144 bytes
Mike Mulvaney wrote:
> From: mike@asdf.asdf (Mike Mulvaney)
Why the fake e-mail address? Your ISP should stop spam for you.
> \[ doesn't work for me, either.
In a string, you need to escape the backslashes:
message ("This is a backslash: \\");
In a regex you can also use a 1-character character class ([[]). This is
very handy for spaces at the end of regular expressions in config files
(like a slrn scorefile).
Technical Details
Message-ID:
<slrn7quhua.s26.bluemoon@ux6.cso.uiuc.edu>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!not-for-mailReferences:
<slrn7qsr8i.h6i.mike@zorak.milkmen> <slrn7qu70p.13b.svengo@sauron.ddns.org> <slrn7qugg4.hsh.mike@zorak.milkmen>Show Full Headers
Complete Article Headers
Message-ID: <slrn7quhua.s26.bluemoon@ux6.cso.uiuc.edu> Subject: Re: slrn: how do I match "["? Date: Mon, 09 Aug 1999 00:00:00 +0000 From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson) References: <slrn7qsr8i.h6i.mike@zorak.milkmen> <slrn7qu70p.13b.svengo@sauron.ddns.org> <slrn7qugg4.hsh.mike@zorak.milkmen> 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!not-for-mail X-Deja-AN: 510805576 Organization: University of Illinois at Urbana-Champaign User-Agent: slrn/0.9.5.7 (UNIX) Newsgroups: news.software.readers