|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Regex only returning partial databy toolic (Bishop) |
| on Jun 06, 2008 at 17:42 UTC ( [id://690715]=note: print w/replies, xml ) | Need Help?? |
|
If I escape the dash inside your character class, I get more:
prints:
Update: Also, the \d is not necessary since you already use \w. You should also consider using one of the CPAN HTML parser modules to grab the contents of the <title> elements.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||