刚刚开始学正则表达式,照着书上的代码敲:
var r = /<.*+>/
为什么会说不合法?
jQuery.Deferred exception: Invalid regular expression: /<.*+>/: Nothing to repeat SyntaxError: Invalid regular expression: /<.*+>/: Nothing to repeat
紫衣仙女
相关分类