jorgevaldivia/salesforce_bulk — pull request #3 by javierjulio (2011-11-10 00:03:13+00:00)
Title: Fix regex to account for 2 numbers in instance name, e.g. na12

I received an error that "captures" was a missing method and figured out the problem was with the regex that parses the instance name. The instance name on my end included 2 numbers: na12. The regex was coded to assume only 1. I think though the regex should look for anything after "https://" and before "-api" rather than a fixed set of characters as that's how its described in the API documentation: http://www.salesforce.com/us/developer/docs/api_asynch/Content/asynch_api_batches_get_info_all.htm