![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
问题想法
luoxh
这个作者很懒,什么都没留下…
展开
-
正则表达式
正则表达式的\w包括_的吗?在javascript中是支持的原创 2012-02-09 18:36:28 · 223 阅读 · 0 评论 -
js string
var str = "abc\i21"; /\\/g.test(str); // false 其中的\是怎么处理的,直接忽略掉吗?原创 2012-02-09 16:16:59 · 293 阅读 · 0 评论 -
ext template
@Ext-2.0.2 Template.js compile方法有一句 "this.compiled = function(values){ return '" + this.html.replace(/\\/g, '\\\\').replace(/(\r\n|\n)/g, '\\n').replace(/'/g, "\\'").replace(thi原创 2012-02-09 16:23:23 · 385 阅读 · 1 评论