leetcode 468 验证ip地址 validate-ip-address【ct】

====

思路:

验证有效地址,记得在正则中加上 ^和$来 明确匹配开头和结尾

 

posted @ 2023-06-20 22:43  hh9515  阅读(13)  评论(0)    收藏  举报