diff --git a/app/src/debug/res/values/strings.xml b/app/src/debug/res/values/strings.xml index e0f6cefb..d4cf157c 100644 --- a/app/src/debug/res/values/strings.xml +++ b/app/src/debug/res/values/strings.xml @@ -1,3 +1,3 @@ - 2FAS.DEBUG + 2FAS.DEBUG \ No newline at end of file diff --git a/core/locale/src/main/res/values/strings.xml b/core/locale/src/main/res/values/strings.xml index e75aacb9..e6823d12 100644 --- a/core/locale/src/main/res/values/strings.xml +++ b/core/locale/src/main/res/values/strings.xml @@ -15,7 +15,7 @@ Used for scanning QR-codes You can unlock the application using Face ID - 2FAS Authenticator + 2FAS Authenticator 2FA Authenticator (2FAS App) OK Add diff --git a/parsers/src/main/java/com/twofasapp/parsers/domain/SupportedService.kt b/parsers/src/main/java/com/twofasapp/parsers/domain/SupportedService.kt index 9935372f..2c883eb5 100644 --- a/parsers/src/main/java/com/twofasapp/parsers/domain/SupportedService.kt +++ b/parsers/src/main/java/com/twofasapp/parsers/domain/SupportedService.kt @@ -35,7 +35,7 @@ data class SupportedService( MatchRule.Matcher.StartsWith -> textToMatch.startsWith(rule.text, ignoreCase = rule.ignoreCase) MatchRule.Matcher.EndsWith -> textToMatch.endsWith(rule.text, ignoreCase = rule.ignoreCase) MatchRule.Matcher.Equals -> textToMatch.equals(rule.text, ignoreCase = rule.ignoreCase) - MatchRule.Matcher.Regex -> false // Match regex currently unsupported + MatchRule.Matcher.Regex -> rule.text.toRegex().containsMatchIn(textToMatch) } if (isMatcherFound) {