in reply to doubt in matching
Hi uva, Try this,
$_="theeee"; if (m/\w*(\w+)(\1{1,})/si){ print $&; }
You are missing "}" in the pattern.
Regards,
Velusamy R.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: doubt in matching
by brian_d_foy (Abbot) on Feb 13, 2006 at 08:01 UTC | |
by uva (Sexton) on Feb 13, 2006 at 09:20 UTC | |
by McDarren (Abbot) on Feb 13, 2006 at 09:47 UTC | |
by Samy_rio (Vicar) on Feb 13, 2006 at 09:40 UTC |