Minor typo in comment
This commit is contained in:
parent
f211872796
commit
b6f4ac9b5f
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ proxifiedContainers = {
|
|||
});
|
||||
},
|
||||
|
||||
//Parses a proxy description string of the format host[:port] or username:password@[host:port] (port is optional)
|
||||
//Parses a proxy description string of the format host[:port] or username:password@host[:port] (port is optional)
|
||||
parseProxy(proxy_str) {
|
||||
const regexp = /(\b(\w+):(\w+)@)?(((?:\d{1,3}\.){3}\d{1,3}\b)|(\b(\w+)(\.(\w+))+))(:(\d+))?/;
|
||||
if (regexp.test(proxy_str) !== true)
|
||||
|
|
Loading…
Add table
Reference in a new issue