2009年9月5日 星期六

Positive and Negative Lookahead, regexp

Lookahead and Lookbehind Zero-Width Assertions
The negative lookahead construct is the pair of round brackets, opening bracket followed by a question mark and an exclamation point

把 1234567 這樣的數字在印出加上逗號變成 1,234,567 這樣的格式

沒有留言: