import re
# Matches: "that will be 15.56$" (case-insensitive), captures the price
_PATTERN = re.compile(r'^that will be\s+(\d+(?:\.\d{1,2})?)\$\s*$', re.IGNORECASE)
def price_within_upward_tolerance(text: str, base: float = 15.56, upward_tol: float = 5.0) -> bool:
"""
Returns True if...