Article View: comp.lang.perl.misc
Article #322Re: How to search ******
From: Gabor
Date: Tue, 15 Jul 1997 00:00
Date: Tue, 15 Jul 1997 00:00
24 lines
1125 bytes
1125 bytes
Chao Shao-ju (sc7489@csc.albany.edu) wrote:
: Hi,
: I tried to search a line that contains more than one star (*) , using:
: if ($line =~ /\*\*/)
: {
: ................
: }
: But it does not work. Could anyone......thanks.
you want
if($line =~ /\*+/) {
...;
}
--
Gabor Egressy : gabor@quickweb.com
No, I am not going to explain it. If you can't figure it out, you
didn't want to know anyway... -- Larry Wall, 1991
Technical Details
Message-ID:
<5qg22t$2gq$1@flint.sentex.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<33CAFAC4.2013B7C3@csc.albany.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1133f4,b92671e9260cc62 X-Google-Attributes: gid1133f4,public X-Google-Thread: fa0ae,b92671e9260cc62 X-Google-Attributes: gidfa0ae,public X-Google-Thread: 112333,b92671e9260cc62 X-Google-Attributes: gid112333,public From: gabor@vinyl.quickweb.com (Gabor) Subject: Re: How to search ****** Date: 1997/07/15 Message-ID: <5qg22t$2gq$1@flint.sentex.net> X-Deja-AN: 256994299 References: <33CAFAC4.2013B7C3@csc.albany.edu> Followup-To: comp.lang.perl.misc,de.comp.lang.perl,fr.comp.lang.perl Organization: Sentex Communications Newsgroups: comp.lang.perl.misc,de.comp.lang.perl,fr.comp.lang.perl