Ruby语言文摘:在正则表达式中最复杂重复限定符{m,n}
Posted by cnruby Sat, 05 Aug 2006 11:30:00 GMT
Ruby语言文摘:在正则表达式中最复杂重复限定符{m,n}
- 文摘:
The most complicated repeated qualifier is {m,n}, where m and n are decimal integers. This qualifier means there must be at least m repetitions, and at most n. For example, a/{1,3}b will match "a/b", "a//b", and "a///b". It won't match "ab", which has no slashes, or "a////b", which has four.
________________________________________________________________ 您只要点击下面图标,就可以把本文加入到您喜欢的公共收藏库中去。



![Validate my RSS feed [Valid RSS]](/blog1/files/valid-rss.png)




