From 17c5040104894546cc8c7ff4f687e5064d042b39 Mon Sep 17 00:00:00 2001 From: kyouk4n Date: Thu, 5 Dec 2024 11:41:42 +0800 Subject: [PATCH] feat: add Huawei HarmonyOS parser --- regexes.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/regexes.yaml b/regexes.yaml index 3ab1b1f4..09467a1c 100644 --- a/regexes.yaml +++ b/regexes.yaml @@ -1915,6 +1915,13 @@ os_parsers: os_v2_replacement: '$2' os_v3_replacement: '$3' + # Huawei HarmonyOS + - regex: 'HarmonyOS\s?(\d*).?(\d*).?(\d*)' + os_replacement: 'Harmony' + os_v1_replacement: '$1' + os_v2_replacement: '$2' + os_v3_replacement: '$3' + device_parsers: #########