📜  正则表达式最后一场比赛 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:33.749000             🧑  作者: Mango

代码示例1
Just use "$" to specify matching a pattern at the end of each line.
Example with grep:
grep "pattern$" file.txt