Stay Hungry,Stay Foolish!

摘要: 定义x(?=y) 匹配'x'仅仅当'x'后面跟着'y'.这种叫做正向肯定查找。比如,/Jack(?=Sprat)/会匹配到'Jack'仅仅当它后面跟着'Sprat'。/Jack(?=Sprat|Frost)/匹配‘Jack’仅仅当它后面跟着'Sprat'或者是‘Frost’。但是‘Sprat’和‘F... 阅读全文
posted @ 2015-05-10 23:26 lightsong 阅读(2468) 评论(0) 推荐(0) 编辑
Life Is Short, We Need Ship To Travel