Around emacs, linux, etc.
正则迷雾,各种工具之正则表达式语法比较
在网上看到的,虽然是04年的貌似,也么的elisp里面的,不过grep、sed、awk是很有用的说。原文为:
在各种常用的工具中,
正则表达式如此的相似却又不同。
下表列出了一些常用的正则表达式,以及其不同之处。
项目总多,遗漏必有不少,请各位看官不吝指出。
以perl的正则为基准,不同的用法以粉红色标出。
(xhchen8018@yahoo.com.cn)
| Print article | This entry was posted by Jay Xie on 2006/02/07 at 5:27 pm, and is filed under GNU/Linux. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
搜狐微博
新浪微博