chen li <[EMAIL PROTECTED]> asekd: > I see some codes as following > > my $regexp= "(([gatc]{3})\\2{3,})"; > > my $string=~/$regexp/; > > What is the meaning of {3,} of in \2{3,} ?
The previous element is repeated thrice or more often. The general syntax is {n,m} where the previous element is repeated n to m times. HTH, Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>