"Mr. Shawn H. Corey" schreef: > print if /\b\w{1,5}\b/;
Variants: print "<$_>\n" for /\b\w{1,5}\b/g ; print "<$1>\n" while /\b(\w{1,5})\b/g ; that would split up "marsh-fever". -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>