会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
牛郑焜
CnBlogs
Home
New Post
Contact
Admin
Subscription
2017年3月8日
正则表达式中^的两种意思
/^A/会匹配"An e"中的A,但是不会匹配"ab A"中的A,此时^A的意思是“匹配开头的A”,类似的有 /[(^\s+)(\s+$)]/g (^cat)$ (^cat$) ^(cat)$ ^(cat$) /[^a-z\s]/会匹配"my 3 sisters"中的"3 ",此时^的意思是“非”,
Read More
posted @ 2017-03-08 18:11 牛郑焜
Views(5045)
Comments(0)
Diggs(0)
Edit
公告