正则表达式的简单应用
2019-04-02 本文已影响0人
不死鸟F21
1.匹配ip
'http://192.168.1.2:8080'
'https://192.168.1.2:8080'
'192.168.1.1'
'192.168.1.1:8080'
'https://192.168.1.2:8080/'
'http://127.0.0.1:8080/'
1.匹配ip
'http://192.168.1.2:8080'
'https://192.168.1.2:8080'
'192.168.1.1'
'192.168.1.1:8080'
'https://192.168.1.2:8080/'
'http://127.0.0.1:8080/'