基础
时间:2010-08-17 来源:CZFanny
正则表达式语法支持情况
命令或环境 | . |
[ ] |
^ |
$ |
\( \) |
\{ \} |
? |
+ |
| |
( ) |
vi | X |
X |
X | X | X |
|
|
|
|
|
Visual C++ |
X |
X | X | X | X |
|
|
|
|
|
awk |
X |
X | X | X |
|
|
X | X | X | X |
sed | X | X | X | X | X | X |
|
|
|
|
Tcl | X | X | X | X | X |
|
X | X | X | X |
ex | X | X | X | X | X | X |
|
|
|
|
grep | X | X | X | X | X | X |
|
|
|
|
egrep | X | X | X | X | X |
|
X | X | X | X |
fgrep | X | X | X | X | X |
|
|
|
|
|
perl | X | X | X | X | X |
|
X | X | X | X |
相关阅读 更多 +