Browse Source

Fixed regex issue

bwhitn 8 năm trước cách đây
mục cha
commit
2a7c0252a0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/core/operations/VBE.js

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

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