Commit d6435e38 by lyn

code review

parent 70c23134
Detailed Comments:
— 山脉数组的峰顶索引:思路没有问题,还是直接提示的注意封装成函数
- Bot:
- 匹配手机号这一行(13[0-9])|(18[0-9])|(17[0-9])可以简化成类似于1[3,7,8]\d的写法
- ip匹配部分,逻辑不够严谨。例如1324.231.432.1234等不应该属于ip,但是有返回324.231.432.123。另外ip每个号段数值应在0~255之前,单纯判断3位数字是有漏洞的。
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment