Article View: news.software.readers
Article #109578Re: [XNews] Help with a Regular Expression
From: Murray Peterson
Date: Fri, 13 Sep 2002 16:12
Date: Fri, 13 Sep 2002 16:12
19 lines
1706 bytes
1706 bytes
mdk <mdk@mdk.com> wrote in news:alsqd5$pjo0$1@ID-98166.news.dfncis.de: > Yes, this: > > c\.windowsxp\.(?!b) > > worked. But even after reading about the ? in the manual I don't > understand why. What is the ? doing? > Look at the "Assertions" section in pcre.html. The ?! character pair is the lookahead negative assertion operator. The question mark or the exclamation mark by themselves aren't doing anything. -- Murray Peterson Email: murray_peterson@shaw.ca (remove underscore) URL: http://members.shaw.ca/murraypeterson/
Technical Details
Message-ID:
<Xns928868BD82530farkle@24.71.223.159>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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!news-in-sanjose!in.nntp.be!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news2.calgary.shaw.ca.POSTED!not-for-mailReferences:
<alsm2h$peib$1@ID-98166.news.dfncis.de> <Xns928861806771C8jUwe9053kODf78sfkj0@127.0.0.1> <alsqd5$pjo0$1@ID-98166.news.dfncis.de>Show Full Headers
Complete Article Headers
Message-ID: <Xns928868BD82530farkle@24.71.223.159> Subject: Re: [XNews] Help with a Regular Expression Date: Fri, 13 Sep 2002 16:12:37 GMT From: Murray Peterson <mwp@home.com.invalid> References: <alsm2h$peib$1@ID-98166.news.dfncis.de> <Xns928861806771C8jUwe9053kODf78sfkj0@127.0.0.1> <alsqd5$pjo0$1@ID-98166.news.dfncis.de> 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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!news-in-sanjose!in.nntp.be!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news2.calgary.shaw.ca.POSTED!not-for-mail X-Trace-PostClient-IP: 24.81.184.18 Newsgroups: news.software.readers Organization: None User-Agent: Xnews/5.04.25 Lines: 18 NNTP-Posting-Host: 24.71.223.147 X-Complaints-To: abuse@shaw.ca X-Trace: news2.calgary.shaw.ca 1031933557 24.71.223.147 (Fri, 13 Sep 2002 10:12:37 MDT) NNTP-Posting-Date: Fri, 13 Sep 2002 10:12:37 MDT