We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc6a110 + 279d268 commit 80b0f3aCopy full SHA for 80b0f3a
src/scraper.py
@@ -34,7 +34,7 @@ class ZillowCardParser:
34
_PATTERN_BED_NUM = re.compile(r"\d+")
35
36
PRICE_CLEANUP_PATTERNS: ClassVar[list[tuple[str, str, re.RegexFlag]]] = [
37
- (r"\+?\s*\d+\s*bds?(?:\s|$)", "", re.IGNORECASE),
+ (r"\s+\d+\s*bds?(?:\s|$)", "", re.IGNORECASE),
38
(r"\+?\s*bd(?:\s|$)", "", re.IGNORECASE),
39
(r"\s+", " ", re.NOFLAG),
40
]
0 commit comments