🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #5061

Re: Regex: hoe iets te excluden?

#5061
From: Roel Schroeven
Date: Fri, 23 May 2003 09:44
14 lines
1497 bytes
Roel Schroeven wrote:

> Ik heb al geprobeerd met
> 
> grep "\(foo\)\{0\}bar"
> 
> maar dat werkt niet: foobar wordt toch nog gematcht. Iemand een idee?

grep "[^f][^o][^o]bar" doet het wel, maar ik zou denken dat het 
eleganter moet kunnen.

-- 
"Codito ergo sum"
Roel Schroeven
Technical Details
Message-ID: <t4mza.15662$1u5.1336@afrodite.telenet-ops.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsswitch.lcs.mit.edu!newsfeed.cwix.com!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
References: <pXlza.15654$1u5.1208@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,42e50ad98d9b8861
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2003-05-23 02:48:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsswitch.lcs.mit.edu!newsfeed.cwix.com!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
From: Roel Schroeven <j4nff5m02@sneakemail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507
X-Accept-Language: nl-be, nl, en-us, en
MIME-Version: 1.0
Newsgroups: be.comp.programming
Subject: Re: Regex: hoe iets te excluden?
References: <pXlza.15654$1u5.1208@afrodite.telenet-ops.be>
In-Reply-To: <pXlza.15654$1u5.1208@afrodite.telenet-ops.be>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 15
Message-ID: <t4mza.15662$1u5.1336@afrodite.telenet-ops.be>
Date: Fri, 23 May 2003 09:44:57 GMT
NNTP-Posting-Host: 213.118.12.123
X-Complaints-To: abuse@telenet.be
X-Trace: afrodite.telenet-ops.be 1053683097 213.118.12.123 (Fri, 23 May 2003 11:44:57 MET DST)
NNTP-Posting-Date: Fri, 23 May 2003 11:44:57 MET DST
Organization: Telenet Internet