|
|
| There's more than one way to do things | |
| PerlMonks |
Non-Perl regular expressionsby petemar1 (Pilgrim) |
| on Dec 20, 2003 at 07:14 UTC ( [id://316015]=perlquestion: print w/replies, xml ) | Need Help?? |
|
petemar1 has asked for the wisdom of the Perl Monks concerning the following question: Hello: http://www.javajunkies.org/index.pl?node_id=3524 I understand this isn't a Java forum, but I have a question tangential to Perl via regular expressions. I'm currently writing a small "screen-scraping" application using java.util.regex.* and am having trouble matching all the strings in a page my pattern should find. My regex is: ViewItem&item=(.*?)&category= or, alternatively: ViewItem&item=(\\d*?)&category= and the page I'm searching is:
I'm trying to match all the item IDs for the products listed on the page. I match 1 or two of them but I should return about 50 per page. Any ideas?
Best regards, Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||