Article View: pl.comp.lang.tcl
Article #345Re: regexp bez podsłów
From: Wojciech Kocjan
Date: Mon, 27 Feb 2006 17:52
Date: Mon, 27 Feb 2006 17:52
19 lines
1300 bytes
1300 bytes
On Mon, 27 Feb 2006 10:45:42 +0100, koctyxa <jaq@costam.artemida.amu.edu.pl> wrote: > Potrzebuję regexpa do zamiany słowa, ale nie podsłowa, czyli > > bb -> xx > > ale > > aabb -> aabb, > bbcc -> bbcc, > aabbcc -> aabbcc. > > Ponoć w perlu wystarczyłoby z przodu i z tyłu wyrażenia zapodać \b. > Jak to w tcl-u? Chyba chodziło o \s - czyli "\\sbb\\s" w tym przypadku :) -- WK
Technical Details
Message-ID:
<op.s5m7wzjw7lonqf@hesus.mshome.net>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<op.s5mlego53jrrtc@bmw-ws076.bqeu.corp.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "Wojciech Kocjan" <hceicjow.backward@kocjan.org> Newsgroups: pl.comp.lang.tcl Subject: Re: regexp bez podsłów Date: Mon, 27 Feb 2006 18:52:01 +0100 Organization: tp.internet - http://www.tpi.pl/ Lines: 19 Message-ID: <op.s5m7wzjw7lonqf@hesus.mshome.net> References: <op.s5mlego53jrrtc@bmw-ws076.bqeu.corp.com> NNTP-Posting-Host: ablz73.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1141062812 19711 83.7.219.73 (27 Feb 2006 17:53:32 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Mon, 27 Feb 2006 17:53:32 +0000 (UTC) User-Agent: Opera M2/8.51 (Win32, build 7712) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit