Repository: trhura/python-myanmar (language: python)

Issue:
telenor prefix 0975x-xxx-xxx not supported
New telenor prefixes:
```
1,975 (0~2)xx -xxxx,WCDMA / GSM,10,Telenor Myanmar Limited
```
```
13,9753-xxx-xxx,WCDMA / GSM,10,Telenor Myanmar Limited
14,9754-xxx-xxx,WCDMA / GSM,10,Telenor Myanmar Limited
15,9755-xxx-xxx,WCDMA / GSM,10,Telenor Myanmar Limited
16,9756-xxx-xxx,WCDMA / GSM,10,Telenor Myanmar Limited
17,9757-xxx-xxx,WCDMA / GSM,10,Telenor Myanmar Limited
18,9758-xxx-xxx,WCDMA / GSM,10,Telenor Myanmar Limited
19,9759-xxx-xxx,WCDMA / GSM,10,Telenor Myanmar Limited
```
REF: ITU


Discussion / hints:

Fix patch:
diff --git a/myanmar/phonenumber.py b/myanmar/phonenumber.py
index e678d89..ccd575f 100644
--- a/myanmar/phonenumber.py
+++ b/myanmar/phonenumber.py
@@ -32,7 +32,7 @@
 
 ooredoo = "(?:9(?:7|6|5)\\d{7})$"
 mytel = "(?:6(?:9|8|7|6|5)\\d{7})$"
-telenor = "(?:7(?:9|8|7|6)\\d{7})$"
+telenor = "(?:7(?:9|8|7|6|5)\\d{7})$"
 mpt_2_series = "2\\d{6,8}"
 mpt_3_series = "3\\d{7,8}"
 mpt_4_series = "4\\d{7,8}"


Test patch:
diff --git a/tests/test_phonenumber.py b/tests/test_phonenumber.py
index 23260b2..9b5bad1 100644
--- a/tests/test_phonenumber.py
+++ b/tests/test_phonenumber.py
@@ -15,8 +15,16 @@ def test_with_country_code():
 
 
 def test_telenor():
-    assert re.match(mp.telenor, "791000481") is not None
-    assert re.match(mp.telenor, "763619515") is not None
+    numbers = [
+        "791000481",
+        "781000481",
+        "771000001",
+        "763619515",
+        "750000001",
+        "759000001"
+    ]
+    for each in numbers:
+        assert re.match(mp.telenor, each) is not None
     assert re.match(mp.telenor, "991000481") is None