Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
but as you imagine it give back all the text,could you help me to find how to turn the exp to discard the out range.#!/usr/bin/perl -w open(FICH, "a.txt"); while (<FICH>) { print if /string1/../string2/ ; } close FICH;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: find a string into an interval
by shenme (Priest) on Sep 21, 2004 at 23:29 UTC | |
|
Re: find a string into an interval
by tachyon (Chancellor) on Sep 21, 2004 at 23:45 UTC | |
|
Re: find a string into an interval
by ikegami (Patriarch) on Sep 21, 2004 at 23:40 UTC | |
|
Re: find a string into an interval
by TedPride (Priest) on Sep 22, 2004 at 08:20 UTC |