Skip to content

Commit d583351

Browse files
authored
Update README.md
修复IP正则表达式问题
1 parent be8161d commit d583351

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676

7777
## 域名
7878

79-
`https://google.com`
79+
`https://google.com/`
8080

8181
```regex
8282
^((http:\/\/)|(https:\/\/))?([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6}(\/)
@@ -89,7 +89,7 @@
8989
`127.0.0.1`
9090

9191
```regex
92-
((?:(?:25[0-5]|2[0-4]\\d|[01]?\\d?\\d)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d?\\d))
92+
((?:(?:25[0-5]|2[0-4]\d|[01]?\d?\d)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d?\d))
9393
```
9494

9595
![ip](images/ip.png)
@@ -292,4 +292,4 @@
292292

293293
MIT License. See the [LICENSE](LICENSE) file.
294294

295-
**[⬆ top](#目录)**
295+
**[⬆ top](#目录)**

0 commit comments

Comments
 (0)