diff --git a/docs/notes/Linux.md b/docs/notes/Linux.md index 1280ba40..e730548c 100644 --- a/docs/notes/Linux.md +++ b/docs/notes/Linux.md @@ -1039,7 +1039,7 @@ $ grep -n 'the' regular_express.txt 18:google is the best tools for search keyword ``` -示例:正则表达式 a{m,n} 用来匹配字符 a m\~n 次,这里需要将 { 和 } 进行转移,因为它们在 shell 是有特殊意义的。 +示例:正则表达式 a{m,n} 用来匹配字符 a m\~n 次,这里需要将 { 和 } 进行转义,因为它们在 shell 是有特殊意义的。 ```html $ grep -n 'a\{2,5\}' regular_express.txt diff --git a/notes/Linux.md b/notes/Linux.md index 1280ba40..e730548c 100644 --- a/notes/Linux.md +++ b/notes/Linux.md @@ -1039,7 +1039,7 @@ $ grep -n 'the' regular_express.txt 18:google is the best tools for search keyword ``` -示例:正则表达式 a{m,n} 用来匹配字符 a m\~n 次,这里需要将 { 和 } 进行转移,因为它们在 shell 是有特殊意义的。 +示例:正则表达式 a{m,n} 用来匹配字符 a m\~n 次,这里需要将 { 和 } 进行转义,因为它们在 shell 是有特殊意义的。 ```html $ grep -n 'a\{2,5\}' regular_express.txt