Article View: news.software.readers
Article #151626Re: [slrn/S-Lang] RegEx for duplicate signature delimiters
From: »Q«
Date: Mon, 12 Jul 2004 14:07
Date: Mon, 12 Jul 2004 14:07
21 lines
1773 bytes
1773 bytes
Lars Stokholm <stokholm@despammed.com> wrote in <news:slrn.cf3ts0.17c@stokholm.dyndns.dk>: >> Can anyone tell me why the following won't match in an article with >> two signature delimiters? >> >> string_match (article, "\n-- \n.*\\(\n-- \n\\)", 1); >> >> Is it a D'OH? :) > > Yeah, it was a D'OH. > > From <http://www.s-lang.org/doc/html/slang-18.html>: > > . match any character except newline Is there anything like the PCRE_DOTALL switch in to make S-Lang regex have . match all characters including newlines? -- »Q«
Technical Details
Message-ID:
<MrQ95245CE3F632CitsmeitsQ@QsFQDN.dyndns.org>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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<slrn.cf3cr3.70@stokholm.dyndns.dk> <slrn.cf3ts0.17c@stokholm.dyndns.dk>Show Full Headers
Complete Article Headers
Message-ID: <MrQ95245CE3F632CitsmeitsQ@QsFQDN.dyndns.org> Subject: Re: [slrn/S-Lang] RegEx for duplicate signature delimiters Date: Mon, 12 Jul 2004 14:07:54 GMT From: »Q« <boxcars@gmx.net> References: <slrn.cf3cr3.70@stokholm.dyndns.dk> <slrn.cf3ts0.17c@stokholm.dyndns.dk> 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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail Newsgroups: news.software.readers Organization: we don't need no stinkin' organization Lines: 21 X-Trace: news.uni-berlin.de hMRZ8PUcZ3BwZM1mwIB6RwqclB+0jy1YAr3Lfw0picwUCAej5F X-Orig-X-Complaints-To: <http://www.cybergecko.com/complain.htm> X-Face: *#`F(_&o, GRH~~$V&ByU1LZAWc]JgxuT`Pv2y0`&JE`(=*PcC>#m2]xv]p, i|9mDJ+8dGMJl`V[!z]\N}qrLTHjU]Sew>rQBShT_8.(0Q(iH, Gu7k|y/)^!@oVydVrix*#|-|u2~zgA'U3nQ_fa#jXvcGL[9f:>8?U=hXYK3D~*}Gq$TjPe1WXEFLGTiB3ot!oMH"'(Jop0(\0C