Article View: news.software.nntp
Article #41969Re: innstat says I have no space
From: Jeremy
Date: Mon, 06 Dec 1999 00:00
Date: Mon, 06 Dec 1999 00:00
29 lines
1652 bytes
1652 bytes
BadBoo <bdmeyer@my-deja.com> wrote: >> 'h[i\d]pcl[o\d]ne|(?<!free\.)h[i\d]pcr[i\d]m[e\d]' > > Not being a fiend of the regular expressions, I tried to dissect it to > make sure I had transcribed it correctly. > > I am going to try and guess what this does, please correct my errors > and misunderstandings. > > the first [i\d] says (the '[' and ']' are metacharacters meaning to > match any character) ' Use the 'i' and then the '\' is an escape so we > are matching 'h(anything)dpcl' No... [ and ] create character classes, meaning "match any one of what is inside here". \d means "match any digit". So [i\d] means "match either an i or any digit". > I'll stop their a second. Why the 'd' and what is the (?<!free portion > of (?<free\.) (I understand the escaped period) (?<!free\.) means match unless there's a "free." next. In other words, that part of the regexp matches any hipcrime group name except ones under free.hipcrime*. -- Jeremy | jeremy@exit109.com
Technical Details
Message-ID:
<82gq88$q83$1@s00perNooZ.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<80can0$52c$1@news.rocsoft.net> <3847f01a.1275203@news.smartt.com> <82c5bi$98l$1@s00perNooZ.com> <82gngc$ho2$1@nnrp1.deja.com>Show Full Headers
Complete Article Headers
Message-ID: <82gq88$q83$1@s00perNooZ.com> Subject: Re: innstat says I have no space Date: Mon, 06 Dec 1999 00:00:00 +0000 From: Jeremy <jeremy@exit109.com> References: <80can0$52c$1@news.rocsoft.net> <3847f01a.1275203@news.smartt.com> <82c5bi$98l$1@s00perNooZ.com> <82gngc$ho2$1@nnrp1.deja.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 557324042 Organization: There Is No Organization X-Meow: Meow Newsgroups: news.software.nntp