Skip to content

Commit 4e20c10

Browse files
committed
Fix Bulgarian mobile phone number validation
1 parent 3c85708 commit 4e20c10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/isMobilePhone.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const phones = {
2323
'ar-QA': /^(\+?974|0)?([3567]\d{7})$/,
2424
'bs-BA': /^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,
2525
'be-BY': /^(\+?375)?(24|25|29|33|44)\d{7}$/,
26-
'bg-BG': /^(\+?359|0)?8[789]\d{7}$/,
26+
'bg-BG': /^(\+?359|0)?(8[789]|98)\d{7}$/,
2727
'bn-BD': /^(\+?880|0)1[13456789][0-9]{8}$/,
2828
'ca-AD': /^(\+376)?[346]\d{5}$/,
2929
'cs-CZ': /^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,

0 commit comments

Comments
 (0)