Article View: news.software.readers
Article #31357Re: [slrn] Regexp syntax in rc file?
From: John E. Davis
Date: Sat, 15 Feb 1997 00:00
Date: Sat, 15 Feb 1997 00:00
21 lines
1471 bytes
1471 bytes
On 14 Feb 1997 10:23:52 GMT, Ian T Zimmerman <itz@nojunk.rahul.net> wrote: >In that case, I still don't understand why my setting of > >ignore_quotes "^[ ]*\(>[ ]*\)+" > > doesn't work. (Yes, I know it's redundant). It seems to conform to >the syntax you give. In particular, it doesn't use any | connectives >(the symbol doesn't even occur in it). This syntax might appear to be conforming but it is not. The \( \) pair simply serves to define the text matched by the regular expression it encloses. That text may be referenced by \1, \2, etc. However, since you do not have reference in your expression, the resulting regular expression is just "^[ ]*>[ ]*+" which I do not think was your intent. --John
Technical Details
Message-ID:
<slrn5g9e0e.u6m.davis@mygir.davis.net>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:
<slrn5g1q7t.gc4.itz@kronstadt.rahul.net> <slrn5g41sd.rr4.davis@mygir.davis.net> <slrn5g6geu.23h.itz@kronstadt.rahul.net> <slrn5g81gd.gfg.davis@aluche.mit.edu> <slrn5g8f9n.4nr.itz@kronstadt.rahul.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn5g9e0e.u6m.davis@mygir.davis.net> Subject: Re: [slrn] Regexp syntax in rc file? Date: Sat, 15 Feb 1997 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn5g1q7t.gc4.itz@kronstadt.rahul.net> <slrn5g41sd.rr4.davis@mygir.davis.net> <slrn5g6geu.23h.itz@kronstadt.rahul.net> <slrn5g81gd.gfg.davis@aluche.mit.edu> <slrn5g8f9n.4nr.itz@kronstadt.rahul.net> 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: 219009950 Organization: Center for Space Research Newsgroups: news.software.readers