Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
2
2019.1_homework_liuwen
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马斯洛
2019.1_homework_liuwen
Commits
f5afc113
Commit
f5afc113
authored
6 years ago
by
简单随风
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update code_review 2019113.txt
parent
d6435e38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
code_review 2019113.txt
+1
-1
No files found.
code_review 2019113.txt
View file @
f5afc113
...
...
@@ -3,6 +3,6 @@ Detailed Comments:
— 山脉数组的峰顶索引:思路没有问题,还是直接提示的注意封装成函数
- Bot:
- 匹配手机号这一行(13[0-9])|(18[0-9])|(17[0-9])可以简化成类似于1[3
,7,
8]\d的写法
- 匹配手机号这一行(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位数字是有漏洞的。
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment