正則中的括號
()是捕獲組用 也就是標記對應的group(i)[]算是一種集合 如 [0-9]表示0到9中任一數字
{}次數中用到 如 x{1,5} x出現至少1次 最多5次
-----------------------------------------------------
Silence, the way to avoid many problems;
Smile, the way to solve many problems;
posted on 2012-04-26 10:41 Chan Chen 閱讀(173) 評論(0) 編輯 收藏 所屬分類: Linux