Article View: news.software.readers
Article #109589Re: [XNews] Help with a Regular Expression
From: mdk
Date: Fri, 13 Sep 2002 19:59
Date: Fri, 13 Sep 2002 19:59
21 lines
1495 bytes
1495 bytes
Murray Peterson <mwp@home.com.invalid> wrote in news:Xns928868BD82530farkle@24.71.223.159: > 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. > Okay, I see. Thanks.
Technical Details
Message-ID:
<altg37$10sg4$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!fu-berlin.de!uni-berlin.de!63.119.78.4!not-for-mailReferences:
<alsm2h$peib$1@ID-98166.news.dfncis.de> <Xns928861806771C8jUwe9053kODf78sfkj0@127.0.0.1> <alsqd5$pjo0$1@ID-98166.news.dfncis.de> <Xns928868BD82530farkle@24.71.223.159>Show Full Headers
Complete Article Headers
Message-ID: <altg37$10sg4$1@ID-98166.news.dfncis.de> Subject: Re: [XNews] Help with a Regular Expression Date: Fri, 13 Sep 2002 19:59:35 +0000 From: mdk <mdk@mdk.com> References: <alsm2h$peib$1@ID-98166.news.dfncis.de> <Xns928861806771C8jUwe9053kODf78sfkj0@127.0.0.1> <alsqd5$pjo0$1@ID-98166.news.dfncis.de> <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!fu-berlin.de!uni-berlin.de!63.119.78.4!not-for-mail Newsgroups: news.software.readers Lines: 20 NNTP-Posting-Host: 63.119.78.4 X-Trace: fu-berlin.de 1031947175 1077764 63.119.78.4 (16 [98166]) User-Agent: Xnews/5.04.25