Refined the sparql regular expression for paging purposes, now working with FROM statements included in the select and construct statement.