diff --git a/services/web/frontend/js/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.js b/services/web/frontend/js/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.js index 9bd220e5cd..e10826a502 100644 --- a/services/web/frontend/js/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.js +++ b/services/web/frontend/js/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.js @@ -337,6 +337,7 @@ define([], function() { let rowIdx = changedRowNums[row] line = this.blankOutBlacklistedCommands(line) var result + WORD_REGEX.lastIndex = 0 // reset global stateful regexp for this usage while ((result = WORD_REGEX.exec(line))) { let word = result[0] if (word[0] === "'") {