比如我想匹配一个字符串: 以J开头,h结尾 /^Jh$/但是用'John smith'匹配不成功,求指教
/^J.*h$/
1.4m articles
1.4m replys
5 comments
56.6k users