开发者社区> 问答> 正文

插入代码页面报错

shCore.js?v=20161021:94 Uncaught TypeError: RegExp exec method returned something other than an Object or null
    at RegExp.[Symbol.replace] (native)
    at String.replace (native)
    at new XRegExp (http://www.rpgmaker.cc/res/js/dev/windeditor/plugins/insertCode/syntaxHihglighter/scripts/shCore.js?v=20161021:94:54)
    at parseParams (http://www.rpgmaker.cc/res/js/dev/windeditor/plugins/insertCode/syntaxHihglighter/scripts/shCore.js?v=20161021:1408:16)
    at Object.findElements (http://www.rpgmaker.cc/res/js/dev/windeditor/plugins/insertCode/syntaxHihglighter/scripts/shCore.js?v=20161021:934:33)
    at Object.highlight (http://www.rpgmaker.cc/res/js/dev/windeditor/plugins/insertCode/syntaxHihglighter/scripts/shCore.js?v=20161021:960:29)
    at Object.render (http://www.rpgmaker.cc/res/js/dev/pages/bbs/read.js?v=20161021:612:22)
    at http://www.rpgmaker.cc/res/js/dev/pages/bbs/read.js?v=20161021:607:11
    at one (http://www.rpgmaker.cc/res/js/dev/wind.js?v=20161021:284:9)
    at http://www.rpgmaker.cc/res/js/dev/wind.js?v=20161021:56:29
XRegExp @ shCore.js?v=20161021:94
parseParams @ shCore.js?v=20161021:1408
findElements @ shCore.js?v=20161021:934
highlight @ shCore.js?v=20161021:960
render @ read.js?v=20161021:612
(anonymous) @ read.js?v=20161021:607
one @ wind.js?v=20161021:284
(anonymous) @ wind.js?v=20161021:56
(anonymous) @ wind.js?v=20161021:385
process @ wind.js?v=20161021:498

我也不知道我改了啥就这样报错

展开
收起
超长电线杆 2017-11-02 19:43:11 2119 0
0 条回答
写回答
取消 提交回答
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载