Article View: news.software.readers
Article #234843--
From: _
Date: Thu, 30 Jul 2009 12:28
Date: Thu, 30 Jul 2009 12:28
22 lines
1956 bytes
1956 bytes
ο»ΏA β^β at the start of a Regular Expression matches the start of a line.
A β$β at the end of a Regular Expression matches the end of a line.
β[^ ]β matches anything that's not a space.
β[^J]β matches anything that's not a βJβ.
By itself, β www.s-lang.org/doc/html/slang-22.html β isn't enough,
you need examples as well, and you have to perform tests yourself.
This makes no sense:
β string_match( "+hdr+", \"[^ ]+ +[^ ]+ +<.+@.+>\", 1 ) β.
it's:
β string_match( hdr, "[^ ]+ +[^ ]+ +<.+@.+>", 1 ) β.
when quoted, it becomes:
β "string_match(" + hdr + ", \"[^ ]+ +[^ ]+ +<.+@.+>\", 1 )" β.
βhdrβ is a string, the βFrom:β line.
Technical Details
Message-ID:
<_@Jeff_Relf.Seattle.2009_Jul30.5.28am.WD>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!de-l.enfer-du-nord.net!news.glorb.com!news2.glorb.com!news-spur2.glorb.com!homer.glorb.com!not-for-mailReferences:
<slrnh6v215.m8d.ShadowTek@desktop.localdomain> <20090729101510@usenet.piggo.com> <slrnh6vnoo.8ce.ShadowTek@desktop.localdomain> <20090729175840@usenet.piggo.com> <_@Jeff_Relf.Seattle.2009_Jul29.6.16am.7d> <slrnh72bf5.njk.ShadowTek@desktop.localdomain>Show Full Headers
Complete Article Headers
Message-ID: <_@Jeff_Relf.Seattle.2009_Jul30.5.28am.WD> Subject: -- Date: Thu, 30 Jul 2009 12:28:48 +0000 From: _@Jeff_Relf.Seattle.inValid References: <slrnh6v215.m8d.ShadowTek@desktop.localdomain> <20090729101510@usenet.piggo.com> <slrnh6vnoo.8ce.ShadowTek@desktop.localdomain> <20090729175840@usenet.piggo.com> <_@Jeff_Relf.Seattle.2009_Jul29.6.16am.7d> <slrnh72bf5.njk.ShadowTek@desktop.localdomain> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!de-l.enfer-du-nord.net!news.glorb.com!news2.glorb.com!news-spur2.glorb.com!homer.glorb.com!not-for-mail Newsgroups: news.software.readers Organization: Glorb Internet Services, http://www.glorb.com Lines: 22 NNTP-Posting-Host: 1MYx75YQh8vD9s4mGW+iMA.user.posting2.glorb.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@glorb.com NNTP-Posting-Date: Thu, 30 Jul 2009 12:28:48 +0000 (UTC) X-Notice: Scanned by Mr. Bill User-Agent: JeffRelf.F-M.FM/X.ZIP