*与+正则表达式的差异有谁能告诉我*和+示例中的运算符:[<>]+ [<>]*
3 回答

浮云间
TA贡献1829条经验 获得超4个赞
*
{0,}
+
{1,}
.
a* ---> a{0,} ---> Match a or aa or aaaaa or an empty string a+ ---> a{1,} ---> Match a or aa or aaaa but not a string empty

慕尼黑5688855
TA贡献1848条经验 获得超2个赞
+
{1,}
)
*
{0,}
)
+
*
grep
sed
vi
.
- 3 回答
- 0 关注
- 567 浏览
添加回答
举报
0/150
提交
取消