好好爱自己!

摘要: 超全 http://www.rexegg.com/regex-lookarounds.html 这篇文章不错:http://www.cnblogs.com/lzq198754/p/5780340.html#commentform http://www.vogella.com/tutorials/Ja 阅读全文
posted @ 2017-08-29 21:01 立志做一个好的程序员 阅读(681) 评论(0) 推荐(0) 编辑
摘要: 这个正则表达式为什么会有两个反斜杠? "^.*?\\.(jpg|png|bmp|gif)$"上面这个正则表达式为什么有两个反斜杠呢?反斜杠点\.就能表示点.了,为什么还要在\.前面多加一个\? 这要分两步看首先字符串中的\\被编译器解释为\ 》 第一步,编译器将字符串转变为“正则表达式”然后作为正则 阅读全文
posted @ 2017-08-29 20:23 立志做一个好的程序员 阅读(21202) 评论(2) 推荐(4) 编辑
摘要: The JavaScript specification gives exactly one proper way to determine the class of an object: Object.prototype.toString.call(t); http://bonsaiden.git 阅读全文
posted @ 2017-08-29 20:14 立志做一个好的程序员 阅读(2430) 评论(0) 推荐(0) 编辑

不断学习创作,与自己快乐相处