"R. Joseph Newton" wrote: Oooops, sorry, needs a small adjustment, I think:
> Jan Eden wrote: > > > > > BTW, accessing $1 like this implies that $1, $2 ... form an array. How can it be > > accessed as a whole? > > my @matches =( /($regex)/g); > my @matches = (/hard-coded random stuff(.*) boilerplate(.*)more unwanted (.*)/); To put the regex expressions into list context. > Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>