Article View: pl.comp.lang.perl
Article #437Re: problem z regexp
From: Adam Kubicki
Date: Fri, 11 Jul 1997 19:52
Date: Fri, 11 Jul 1997 19:52
7 lines
1049 bytes
1049 bytes
Maciej Jastrzebski <pedro@apollo.umcs.lublin.pl> wrote: : Jesli problem lezy w tym, w czym mysle - czyli w maksymalnym dopasowaniu, : to w Perlu 5 mozna wymusic dopasowanie minimalne przez '?': : perl -e '"blah blah (nawias i 01238)" =~ /(.*?) ((\(|\d).*)/ && print "$1; $2\n"' chodzi ladnie, dzieki
Technical Details
Message-ID:
<5q62uf$o31$1@galaxy.uci.agh.edu.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!agh.edu.pl!agh.edu.pl!not-for-mailReferences:
<5q0jvk$1ir$1@galaxy.uci.agh.edu.pl> <5q28o2$h3i$1@galaxy.uci.agh.edu.pl> <5q5bfu$adv$1@galaxy.uci.agh.edu.pl> <5q5os3$9gv$1@helios.man.lublin.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!agh.edu.pl!agh.edu.pl!not-for-mail From: mikee@galaxy.uci.agh.edu.pl (Adam Kubicki) Newsgroups: pl.comp.lang.perl Subject: Re: problem z regexp Date: 11 Jul 1997 21:52:47 +0200 Organization: University of Mining & Metallurgy Lines: 8 Message-ID: <5q62uf$o31$1@galaxy.uci.agh.edu.pl> References: <5q0jvk$1ir$1@galaxy.uci.agh.edu.pl> <5q28o2$h3i$1@galaxy.uci.agh.edu.pl> <5q5bfu$adv$1@galaxy.uci.agh.edu.pl> <5q5os3$9gv$1@helios.man.lublin.pl> NNTP-Posting-Host: galaxy.uci.agh.edu.pl X-Newsreader: TIN [UNIX 1.3 unoff BETA 970307; sun4m SunOS 5.5.1] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit