Life is a journey

Who Dares Wins
posts - 26, comments - 2, trackbacks - 0, articles - 0
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

06 2009 档案

摘要: ^((29\/02\/((((0[48])|([13579][26])|([2468][048]))00)|([0-9][0-9]((0[48])|([13579][26])|([2468][048])))))|((31\/(((0[13578])|(1[02])))|((29|30)\/((0[1,3-9])|(1[0-2])))|(((0[1-9])|(1[0-9])|(2[0-8]))\/(...阅读全文

posted @ 2009-06-29 15:19 zhaobin 阅读(71) | 评论 (0) 编辑 |

摘要: 日期正则:(^|s|()((([1-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[/-]((2[0-9]){1}|(3[01]){1}|([01][1-9]){1}|([1-9]){1}){1}[/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([s|)|:])|(^|s|()((([0-9]){1}|([0][1-...阅读全文

posted @ 2009-06-29 12:01 zhaobin 阅读(63) | 评论 (0) 编辑 |

摘要: 当初在shell中, 看到">&1"和">&2"始终不明白什么意思.经过在网上的搜索得以解惑.其实这是两种输出. 在 shell 程式中,最常使用的 FD (file descriptor) 大概有三个, 分别是: 0: Standard Input (STDIN) 1: Standard Output (STDOUT) 2: Standard Error Output...阅读全文

posted @ 2009-06-25 18:14 zhaobin 阅读(612) | 评论 (0) 编辑 |