Hi uva, Try this,
$_="theeee"; if (m/\w*(\w+)(\1{1,})/si){ print $&; }
You are missing "}" in the pattern.
Regards,
Velusamy R.
In reply to Re: doubt in matching
by Samy_rio
in thread doubt in matching
by uva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |