Article View: pl.comp.lang.tcl
Article #340Re: regexp bez podsłów
From: Googie
Date: Mon, 27 Feb 2006 12:08
Date: Mon, 27 Feb 2006 12:08
26 lines
1291 bytes
1291 bytes
koctyxa 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? > > koctyxa Może podmieniaj " bb " na " xx " zamiast samo "bb" :) Wtedy będzie łatwiej, bo regexp będzie: \sbb\s -- Pozdrawiam! (Greetings!) Googie
Technical Details
Message-ID:
<dtupgj$nk1$1@srv.cyf-kr.edu.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.cyf-kr.edu.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!newsfeed.gazeta.pl!feed.news.interia.pl!news.cyf-kr.edu.pl!not-for-mail From: Googie <no@spam.org> Newsgroups: pl.comp.lang.tcl Subject: Re: regexp bez podsłów Date: Mon, 27 Feb 2006 13:08:45 +0100 Organization: Academic Computer Center CYFRONET AGH Lines: 26 Message-ID: <dtupgj$nk1$1@srv.cyf-kr.edu.pl> References: <op.s5mlego53jrrtc@bmw-ws076.bqeu.corp.com> NNTP-Posting-Host: ip-7-197.ists.pl Mime-Version: 1.0 X-Trace: srv.cyf-kr.edu.pl 1141041492 24193 193.25.7.197 (27 Feb 2006 11:58:12 GMT) X-Complaints-To: news@cyf-kr.edu.pl NNTP-Posting-Date: Mon, 27 Feb 2006 11:58:12 +0000 (UTC) User-Agent: Thunderbird 1.5 (Windows/20051201) In-Reply-To: <op.s5mlego53jrrtc@bmw-ws076.bqeu.corp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit