微信小程序提示db.RegExp is not a function(已解决)附加代码 主要原因是因为小程序的基础库版本太低,不支持正则表达式,所以应该改下基础库的版本。 原文:https://blog.csdn.net/Cooler_max/article/details/88656609