Article View: news.software.readers
Article #50499Re: slrn: how do I match "["?
From: Mike Mulvaney
Date: Mon, 09 Aug 1999 00:00
Date: Mon, 09 Aug 1999 00:00
18 lines
1263 bytes
1263 bytes
Earlier, Sven Gottwald <svengo@gmx.net> wrote: >Mike Mulvaney <mike@asdf.asdf> schrieb/wrote: > >>I'm pretty used to regexps in perl and grep, but I am having a problem >>in s-lang. I am trying to match the character "[", and I can't get it >>to work. I tried \[, which gives me some error messages. > >You should use '\[' instead of '/['. Doh! I originally had \[, and switched to /[ as a test just before I posted. \[ doesn't work for me, either. \( works fine, so maybe this is a bug? I thought that maybe [ was special in some other way. Mike
Technical Details
Message-ID:
<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-mailReferences:
<slrn7qsr8i.h6i.mike@zorak.milkmen> <slrn7qu70p.13b.svengo@sauron.ddns.org>Show Full Headers
Complete Article Headers
Message-ID: <slrn7qugg4.hsh.mike@zorak.milkmen> Subject: Re: slrn: how do I match "["? Date: Mon, 09 Aug 1999 00:00:00 +0000 From: mike@asdf.asdf (Mike Mulvaney) References: <slrn7qsr8i.h6i.mike@zorak.milkmen> <slrn7qu70p.13b.svengo@sauron.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!not-for-mail X-Deja-AN: 510783583 Organization: Posted via Supernews, http://www.supernews.com User-Agent: slrn/0.9.5.4 (UNIX) Newsgroups: news.software.readers X-Complaints-To: newsabuse@supernews.com