in reply to regex help

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Re: regex help
by andrew (Acolyte) on Sep 27, 2002 at 21:11 UTC
    while ( <DATA> ) { if ( /browse(\/.*)\// ) { #if the current $_ matches #browse followed by a # / followed by anything #but having to be followed by # another / #then put whatever was found #between the parens in $line my $line = $1; print "$line\n"; } }
    All I have is a variable not <DATA>???