问个正则的问题:
给一个字符串,如:“hello world!”
“hello world!”
写个正则表达式,能且只能匹配字符串开头的字母,如:
"h" "he" "hell" ... 到 "hello world!"
只匹配这些字符串
怎么写?
收起
重复了
https://ask.csdn.net/questions/7795000
报告相同问题?