我正在尝试编写一个正则表达式,它将捕获两个或多个空白空间,不包括领先的空白空间。以下面这个例子为例 One OS to find them.In the bright land of Linux,One OS to rule them all,
One OS to find them.注意:,我想在中使用这个正则表达式。
我想选择一些与正则表达式匹配的文件。例如,文件包括:4510-88nid-50048-INA.txt我想要匹配这个正则表达式的所有文件使用bash命令find -regex似乎对我不起作用。我的问题是,为什么?find /some/path -regex ".*[\w]{4}-05(?!$ uname -a
Linux debmu838 2.6.5