diff --git a/src/i18n/keymap_extras/convert_keymap_extras_header.js b/src/i18n/keymap_extras/convert_keymap_extras_header.js index 7820e8f458..2a4ade0803 100644 --- a/src/i18n/keymap_extras/convert_keymap_extras_header.js +++ b/src/i18n/keymap_extras/convert_keymap_extras_header.js @@ -172,7 +172,7 @@ function computeKcInfo(lines, intl2us) { keysym: readableKeysym, name: readableKeysym }); - const shiftedKcRegExp = /S\(\w+\)/; + const shiftedKcRegExp = /^S\(\w+\)$/; if (shiftedKcRegExp.test(macroExpansion)) { const basicKc = extractBasicKc(macroExpansion); const basicUSKc = translateToUS(basicKc, intl2us);