Re: regexp extraction

2001-12-13 Thread Birgit Kellner
--On Mittwoch, 12. Dezember 2001 14:24 +0100 Andrea Holstein <[EMAIL PROTECTED]> wrote: > I think the problem isn't the regexp, it's in the line: > > my $content = qq| > > You used the qq| ... | notation which is equivalent to " ... ". > So there's interpolation and for especially \2 could be in

Re: regexp extraction

2001-12-12 Thread Andrea Holstein
Birgit Kellner wrote: > > I have an html file and would like to extract image file names and > extensions: > > my $content = qq| > aölkjd oiae lkajf lksjfkjs df src="http://wlaskjfd.sdlkj/sdlk/LKJ_slkdjf_lkdjfslkj.gif";>|; > > Image file names may contain numers, letters or underscores. > > my

regexp extraction

2001-12-11 Thread birgit kellner
I have an html file and would like to extract image file names and extensions: my $content = qq| aölkjd oiae lkajf lksjfkjs dfhttp://wlaskjfd.sdlkj/sdlk/LKJ_slkdjf_lkdjfslkj.gif";>|; Image file names may contain numers, letters or underscores. my %imageextension; while ($content =~ //g) {