正则表达式 行头和行尾

在正则中有^和$分别匹配行头和行尾
原文地址:https://www.cnblogs.com/wangjixianyun/p/3052641.html