paulirish/infinite-scroll — pull request #290 by davebrace (2012-12-08 01:32:38+00:00)
Title: Update the initial _determinepath paging parameter guess to use the last instance of a found 2.

Currently when trying to determine the location of the paging parameter in a path if a pathParse is not specified, a regex is used to find the first instance of a \b anchored 2 in the path.

This tweak to the regex would tell it to splice on the last found \b anchored 2, as paging parameters are usually located towards the end of the path instead of near the beginning.