diff options
Diffstat (limited to 'chromium/content/browser/sms/sms_parser.cc')
-rw-r--r-- | chromium/content/browser/sms/sms_parser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/content/browser/sms/sms_parser.cc b/chromium/content/browser/sms/sms_parser.cc index 3c7a6efe0bb..e602edbf534 100644 --- a/chromium/content/browser/sms/sms_parser.cc +++ b/chromium/content/browser/sms/sms_parser.cc @@ -16,8 +16,8 @@ namespace content { // SMS one-time-passcode format: -// https://github.com/WebKit/explainers/blob/master/sms-one-time-code-format/README.md -constexpr char kOtpFormatRegex[] = "(?:^|\\s)@([a-zA-Z0-9.-]+) #(.[^#\\s]+)"; +// https://wicg.github.io/sms-one-time-codes/#parsing +constexpr char kOtpFormatRegex[] = "(?:^|\\s)@([a-zA-Z0-9.-]+) #([^#\\s]+)"; SmsParser::Result::Result(const url::Origin& origin, const std::string& one_time_code) |