Difference between regex quantifiers plus and star

前端 未结 5 1803
轮回少年
轮回少年 2020-11-27 08:37

I try to extract the error number from strings like \"Wrong parameters - Error 1356\":

 Pattern p = Pattern.compile(\"(\\\\d*)\");
 Matcher m =          


        
5条回答
提交回复
热议问题