[Ubuntu-zh] 推荐一个regex工具
listofx
listofx在gmail.com
星期五 六月 18 04:32:40 BST 2010
昨天不是在邮件列表中讨论了sed的一些用法,受益良多,特此感谢jimmy。
刚才在software center中,突然看到txt2regex这个工具,通过交互式的方式帮助
用户构建正则表达式。自己觉得还是非常有用的。
下面是截图(字符界面)
[.]quit [0]reset [*]color
^txt2regex$
(1
!! not
supported
RegEx perl : [A-Za-z][A-Za-z0-9_]*([]
RegEx php : [A-Za-z][A-Za-z0-9_]*([]
RegEx postgres: [A-Za-z][A-Za-z0-9_]*([]
RegEx python : [A-Za-z][A-Za-z0-9_]*([]
RegEx sed : [A-Za-z][A-Za-z0-9_]*\([]
RegEx vim : [A-Za-z][A-Za-z0-9_]*\([]
.oO(26163(6)(�:01�:0123�:)
[1-7]:
how many times (repetition):
1) one
2) zero or one (optional)
3) zero or more
4) one or more
5) exactly N
6) up to N
7) at least N
关于邮件列表 ubuntu-zh 的更多信息