in reply to newbie to regex: all matches

Pass a closure to HTML::LinkExtractor which fills an array by /page[.]php[?]id=(\d+)/