Skip to content

Commit

Permalink
fix: check 760, 767 moldovan phone numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpmohiburrahman committed Nov 14, 2024
1 parent 0d7b9f9 commit aadb817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/isMobilePhone.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const phones = {
'pt-BR': /^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,
'pt-PT': /^(\+?351)?9[1236]\d{7}$/,
'pt-AO': /^(\+244)\d{9}$/,
'ro-MD': /^(\+?373|0)((((6([0126789]))|(7([89])))\d{6})|(77([4789])\d{5}))$/,
'ro-MD': /^(\+?373|0)(?:(?:6[0126789]|7[89])\d{6}|(?:760|767)\d{4}|77[4789]\d{5})$/,
'ro-RO': /^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,
'ru-RU': /^(\+?7|8)?9\d{9}$/,
'si-LK': /^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,
Expand Down

0 comments on commit aadb817

Please sign in to comment.