On Tue, 2006-25-04 at 17:36 +0400, Monomachus wrote:
This matches only the first occurrence. You will need a loop to match
them all.
Just wanted to say that this piece of info just totally saved my life.
Thanks!
Adam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
I need a RegEx (!!!with modify(m//)) what matches the words what ends with 'a'.
=
I have a test_file (for ex.:)
=
beforematchafter
wilma and nana
Mrs. Wilma Flinstone hommie
barney
wilmafred
wilmafred
flinstone
mamafred
On Tue, 2006-25-04 at 17:36 +0400, Monomachus wrote:
#!/usr/bin/perl -w
use strict;
my $i=1;
while () { # take one input line at time
chomp;
if (/(\b\w*a\b)/) {
This matches only the first occurrence. You will need a loop to match
them all.
print $1
On 4/25/06, Monomachus [EMAIL PROTECTED] wrote:
I need a RegEx (!!!with modify(m//)) what matches the words what ends with
'a'.
=
I have a test_file (for ex.:)
=
beforematchafter
wilma and nana
Mrs. Wilma Flinstone hommie
barney