|Don't ask to ask, just ask|
Help with placing the matches of a regex into an Arrayby kereekerra (Initiate)
|on Apr 28, 2012 at 15:04 UTC||Need Help??|
kereekerra has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to do some screen scraping. I'm using this regex to capture the variable portion of the URLs. However in my output, I only have the first match. My error messages also indicate that I'm only capturing one entry when I should be capturing about forty.
Update: The data I'm trying to scrape is the URL's of pages for specific SC2 replays from the site. "http://www.sc2rep.com/" I'm trying to scrape the individual game pages and output them to a file for use with a DBI script. On closer inspection the match I'm getting is incorrect. Here is a more complete script. Sorry about the incomplete information.
The fix by stevieb made the code work. Removing the bracket made it work like a charm. Thank you all for your help and time.