laziness, impatience, and hubris | |
PerlMonks |
Re: Regex only returning partial databy Grey Fox (Chaplain) |
on Jun 06, 2008 at 20:18 UTC ( [id://690755]=note: print w/replies, xml ) | Need Help?? |
Thanks all I used all of your advice and came up with the following regex that does the trick. m|<title>GRP\-\d{1,3}(?:\-\d{1,3})?(?:\s)?(?:\-\s)?(.*?)</title>|The use of the (.*?) instead of the group set and {1,75} makes it a little less greedy. Thanks again for all your help.
-- Grey Fox
"We are grey. We stand between the darkness and the light" B5
In Section
Seekers of Perl Wisdom
|
|