invalidDeviceName function
Returns false if the device name does not match sshnpDeviceNameRegex
Implementation
bool invalidDeviceName(String test) {
return RegExp(sshnpDeviceNameRegex).allMatches(test).first.group(0) != test;
}
Returns false if the device name does not match sshnpDeviceNameRegex
bool invalidDeviceName(String test) {
return RegExp(sshnpDeviceNameRegex).allMatches(test).first.group(0) != test;
}