ソースを参照

Fixed regex issue

bwhitn 8 年 前
コミット
2a7c0252a0
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/core/operations/VBE.js

+ 1 - 1
src/core/operations/VBE.js

@@ -245,7 +245,7 @@ const VBE = {
      * @returns {string}
      * @returns {string}
      */
      */
     runDecodeVBE: function (data, args) {
     runDecodeVBE: function (data, args) {
-        let matcher = /#@~\^......==(.+)......==\^#~@/gm,
+        let matcher = /#@~\^......==(.+)......==\^#~@/,
             result = "",
             result = "",
             encodedData;
             encodedData;
         while ((encodedData = matcher.exec(data))) {
         while ((encodedData = matcher.exec(data))) {