摘要:
Let's image tow cases for the following string: var str = `foo foobar foobaz fooboo` First of all: we know how to capture foobar or fooboo: var regex 阅读全文
posted @ 2016-02-15 02:12
Zhentiw
阅读(167)
评论(0)
推荐(0)
摘要:
We'll capture groups of characters we wish to match, use quantifiers with those groups, and use references to those groups in String.prototype.replace 阅读全文
posted @ 2016-02-15 02:00
Zhentiw
阅读(266)
评论(0)
推荐(0)

浙公网安备 33010602011771号