From e10a9c3578b940954b0d15f1a1dbb4d98494f8ac Mon Sep 17 00:00:00 2001 From: Taras Perun Date: Fri, 18 Aug 2023 14:13:10 +0200 Subject: [PATCH] fix regexp --- src/CONST.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CONST.js b/src/CONST.js index 512c586c058c..aaf2567ab683 100755 --- a/src/CONST.js +++ b/src/CONST.js @@ -182,10 +182,6 @@ const CONST = { // If the length is longer than 13 digits, we show the first 6 and last 4 digits, hiding the rest with X MASKED_US_ACCOUNT_NUMBER: /^[X]{0,9}[0-9]{4}$|^[0-9]{6}[X]{4,7}[0-9]{4}$/, SWIFT_BIC: /^[A-Za-z0-9]{8,11}$/, - - TIME_STARTS_01: /^01:\d{2} [AP]M$/, - TIME_FORMAT: /^\d{2}:\d{2} [AP]M$/, - DATE_TIME_FORMAT: /^\d{2}-\d{2} \d{2}:\d{2} [AP]M$/, }, VERIFICATION_MAX_ATTEMPTS: 7, STATE: { @@ -1172,6 +1168,10 @@ const CONST = { VALIDATE_LOGIN: /\/v($|(\/\/*))/, UNLINK_LOGIN: /\/u($|(\/\/*))/, }, + + TIME_STARTS_01: /^01:\d{2} [AP]M$/, + TIME_FORMAT: /^\d{2}:\d{2} [AP]M$/, + DATE_TIME_FORMAT: /^\d{2}-\d{2} \d{2}:\d{2} [AP]M$/, }, PRONOUNS: {