check_valid_protocol_name


Description:

public static bool check_valid_protocol_name (string name) throws Error

Check that the given string is a valid protocol name, i.e. that it consists entirely of ASCII letters, digits and hyphen/minus, and starts with a letter.

Parameters:

name

a possible protocol name

Returns:

true if name is valid