Chinaunix首页 | 论坛 | 博客
  • 博客访问: 47725
  • 博文数量: 7
  • 博客积分: 1430
  • 博客等级: 上尉
  • 技术积分: 170
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-05 11:06
文章分类
文章存档

2008年(7)

我的朋友

分类: LINUX

2008-06-08 11:45:40

some useful in RE:
 
\d Matches any decimal digit; this is equivalent to the class [0-9].
\D Matches any non-digit character; this is equivalent to the class [^0-9].
\s Matches any whitespace character; this is equivalent to the class [ \t\n\r\f\v].
\S Matches any non-whitespace character; this is equivalent to the class [^ \t\n\r\f\v].
\w Matches any alphanumeric character; this is equivalent to the class [a-zA-Z0-9_].
\W Matches any non-alphanumeric character; this is equivalent to the class [^a-zA-Z0-9_].
 
阅读(667) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~