diff --git a/price_parser/parser.py b/price_parser/parser.py index 1a17349..5f284ea 100644 --- a/price_parser/parser.py +++ b/price_parser/parser.py @@ -68,7 +68,7 @@ def or_regex(symbols: List[str]) -> Pattern: 'SY£', 'LB£', 'CN¥', 'GH₵', # unique currency symbols - '$', '€', '£', 'zł', 'Zł', 'Kč', '₽', '¥', '¥', + '$', '¢', '€', '£', 'zł', 'Zł', 'Kč', '₽', '¥', '¥', '฿', 'դր.', 'դր', '₦', '₴', '₱', '৳', '₭', '₪', '﷼', '៛', '₩', '₫', '₡', 'টকা', 'ƒ', '₲', '؋', '₮', 'नेरू', '₨', '₶', '₾', '֏', 'ރ', '৲', '૱', '௹', '₠', '₢', '₣', '₤', '₧', '₯', diff --git a/tests/test_price_parsing.py b/tests/test_price_parsing.py index 4875b11..36b622b 100644 --- a/tests/test_price_parsing.py +++ b/tests/test_price_parsing.py @@ -80,7 +80,9 @@ def __eq__(self, other): Example(None, 'AED 8000 (USD 2179)', 'AED', '8000', 8000), Example(None, '13800 ₶', - '₶', '13800', 13800) + '₶', '13800', 13800), + Example(None, '99¢', + '¢', '99', 99) ]