Rob Dixon schreef: > Dr.Ruud: >> Rob Dixon: >>> my @files = $text =~ m#(http://.*?.mp3)"#g; >> >> Missing is escaping of the dot. >> This would lead to mismatching "http://my-mp3.mp3". > > Thank you Ruud
You're welcome. I forgot to mention that there are alternatives: my @files = $text =~ m#(http://.*?\.mp3)"#g; my @files = $text =~ m#(http://.*?[.]mp3)"#g; In Perl 5.10, the [.] and \. are equally fast. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
