diff --git a/src/device-detector.constants.ts b/src/device-detector.constants.ts index 0b994ab..1881d9b 100644 --- a/src/device-detector.constants.ts +++ b/src/device-detector.constants.ts @@ -164,7 +164,7 @@ export const BROWSER_VERSIONS_RE_MAP: any = { SAFARI: /\bVersion\/([\d\.]+)\b/, OPERA: [/\bVersion\/([\d\.]+)\b/, /\bOPR\/([\d\.]+)\b/], IE: [/\bMSIE ([\d\.]+\w?)\b/, /\brv:([\d\.]+\w?)\b/], - MS_EDGE: /\bEdg(e|A|iOS)\/([\d\.]+)\b/, + MS_EDGE: /\bEdg(?:e|A|iOS)\/([\d\.]+)\b/, SAMSUNG: /\bSamsungBrowser\/([\d\.]+)\b/ };