We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cac727 commit 6b3bcbeCopy full SHA for 6b3bcbe
src/utils/network_utils.js
@@ -74,7 +74,7 @@ const NetworkUtils = {
74
},
75
76
getAddressAndPortFromUri(uriString) {
77
- let regexStr = /(?:http:\/\/|rosrpc:\/\/)?([a-zA-Z\d\-.:]+):(\d+)/;
+ let regexStr = /(?:http:\/\/|rosrpc:\/\/)?([a-zA-Z\d\-_.]+):(\d+)/;
78
let match = uriString.match(regexStr);
79
if (match === null) {
80
throw new Error ('Unable to find host and port from uri ' + uriString + ' with regex ' + regexStr);
0 commit comments