brighton36/libcraigscrape — pull request #4 by Alex-Poon (2012-12-20 03:25:05+00:00)
Title: Fix price regex for real estate listings

In real estate listings, price is in the header and are like this: "$1600 / 1br - Quiet and Secluded Place in Kensington with Wood Floors (berkeley north / hills)"

because the regex has an end of line at the end, it won't catch any prices with text afterwards. I removed the end of line, and switched price to use header.

This still passes tests, but I haven't gotten around to writing a test case for a real estate listing. Will follow up.