Skip to content

Commit

Permalink
Merge pull request me115#27 from yinggaozhen/master
Browse files Browse the repository at this point in the history
修复find正则查询指令错误
  • Loading branch information
me115 authored Dec 11, 2019
2 parents 70ffb9c + 6deb01d commit aff1908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/03_text_processing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ find 文件查找

正则方式查找.txt和pdf::

find . -regex ".*\(\.txt|\.pdf\)$"
find . -regex ".*\(\.txt\|\.pdf\)$"
-iregex: 忽略大小写的正则

否定参数 ,查找所有非txt文本::
Expand Down

0 comments on commit aff1908

Please sign in to comment.