Python class to validate price strings via regex.