好好爱自己!

摘要: 问题: https://www.zhihu.com/question/26480812 (?<=<(\w+)>).*(?=<\/\1>) 正则表达式看懂的最好方法就是一步步分开解析: 1)以 '.*' 为分界,前面括号中的内容可以划分为 ‘?<=’ 和 ‘<(\w+)>’,其中‘<(\w+)>'表示 阅读全文
posted @ 2017-12-15 10:27 立志做一个好的程序员 阅读(12652) 评论(1) 推荐(1) 编辑
摘要: question: I wrote the following code on immutable Strings. Output: Here the value of variable a has been changed (while many say that contents of the 阅读全文
posted @ 2017-12-15 10:11 立志做一个好的程序员 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 正则表达式非常好的网站: https://www.regular-expressions.info/lookaround.html Lookahead and Lookbehind Zero-Length Assertions Lookahead and lookbehind, collective 阅读全文
posted @ 2017-12-15 01:26 立志做一个好的程序员 阅读(744) 评论(0) 推荐(0) 编辑

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