Chinaunix首页 | 论坛 | 博客
  • 博客访问: 851554
  • 博文数量: 253
  • 博客积分: 6891
  • 博客等级: 准将
  • 技术积分: 2502
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-03 11:01
文章分类

全部博文(253)

文章存档

2016年(4)

2013年(3)

2012年(32)

2011年(184)

2010年(30)

分类: Python/Ruby

2011-10-11 11:16:51

*; the preceding item may occur zero or more.(0 / more)
+; match the preceding item one or more times.(1/more)
?; the preceding item may occur once or not at all.(0/1)
.;any thing except for newline.(anything but \n)
.*; will match any character, any number of times.(anything except newline)

nongreedy format:
.*?;
.+?
??
{m,n}?


阅读(312) | 评论(0) | 转发(0) |
0

上一篇:rand

下一篇:xrange和range区别

给主人留下些什么吧!~~