Commit c2c7bcf2 authored by abhishek.a21's avatar abhishek.a21 Committed by Commit Bot

Adding more UPI IDs to the regex and updated the unittest.

Reference: https://docs.google.com/spreadsheets/d/1HKl-gMSzjI-ygRkYTvqpJRwSW0ZI-xj-0aoiNdTum2g/edit#gid=939250318

Change-Id: I160fcaaa9aca29ab5c78eda66a78be2c5775720f
Reviewed-on: https://chromium-review.googlesource.com/956829Reviewed-by: default avatarRoger McFarlane <rogerm@chromium.org>
Reviewed-by: default avatarSanjoy Pal <sanjoy.pal@samsung.com>
Commit-Queue: Abhishek Agarwal <abhishek.a21@samsung.com>
Cr-Commit-Position: refs/heads/master@{#543009}
parent 59bf6885
......@@ -487,7 +487,7 @@ INSTANTIATE_TEST_CASE_P(UPIVirtualPaymentAddress,
"pnb",
"sib",
"sbi",
"tjsp",
"tjsb",
"uco",
"unionbank",
"united",
......
......@@ -314,10 +314,13 @@ const char kPhoneExtensionRe[] =
/////////////////////////////////////////////////////////////////////////////
const char kUPIVirtualPaymentAddressRe[] =
"^\\w+@("
"airtel|" // My Airtel-Recharge, Bill, Bank
"allbank|" // Allahabad Bank UPI
"andb|" // Andhra Bank ONE
"axisbank|" // Axis Pay
"axisgo|" // Ola
"barodampay|" // Baroda MPay
"boi|" // BHIM BOI UPI
"centralbank|" // Cent UPI
"cnrb|" // Canara Bank UPI - Empower
"csbpay|" // CSB UPI
......@@ -334,6 +337,8 @@ const char kUPIVirtualPaymentAddressRe[] =
"indianbank|" // Indian Bank UPI
"indus|" // Indus Pay
"iob|" // IOB UPI
"jkb|" // BHIM JK Bank UPI
"jsb|" // JetPay UPI
"kaypay|" // KayPay
"kbl|" // KBL Smartz
"kotak|" // kotak Mahindra Bank
......@@ -341,6 +346,10 @@ const char kUPIVirtualPaymentAddressRe[] =
"lvb|" // LVB UPay
"mahb|" // MAHAUPI
"obc|" // Oriental BHIM UPI
"okicici|" // Tez
"okhdfcbank|" // Tez
"okaxis|" // Tez
"paytm|" // Paytm
"pingpay|" // Samsung Pay
"pnb|" // PNB UPI
"pockets|" // Pockets- ICICI Bank
......@@ -350,7 +359,7 @@ const char kUPIVirtualPaymentAddressRe[] =
"scb|" // Standard Chartered
"sib|" // SIB M-Pay (UPI Pay)
"syndicate|" // Synd UPI
"tjsp|" // TranZapp
"tjsb|" // TranZapp
"ubi|" // United UPI
"uboi|" // Union Bank UPI
"uco|" // UCO UPI
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment