^start:以 start 开头的行
start
end$:以 end 结尾的行
end
gr.p:匹配 grep、grap 等(. 代表任意字符)
grep
grap
.
a.*b:匹配 a 和 b 之间有任意字符的行
a
b
[0-9]{3}:匹配连续三位数字(需配合 -E)
-E