Skip to content

Commit

Permalink
Merge pull request cdoco#2 from zhongshan-zhang/master
Browse files Browse the repository at this point in the history
修复IP正则表达式问题
  • Loading branch information
cdoco authored Mar 4, 2019
2 parents be8161d + d583351 commit b3460fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

## 域名

`https://google.com`
`https://google.com/`

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

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

![ip](images/ip.png)
Expand Down Expand Up @@ -292,4 +292,4 @@

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

**[⬆ top](#目录)**
**[⬆ top](#目录)**

0 comments on commit b3460fc

Please sign in to comment.