parameters: (name)
return_statement: return m is not None and m.group(0) == name and not '//' in name
docstring: Check if name is a legal ROS name for graph resources
      (alphabetical character followed by alphanumeric, underscore, or
      forward slashes). This constraint is currently not being enforced,
      but may start getting enforced in later versions of ROS.
  
      @param name: Name
      @type  name: str
docstring_summary: Check if name is a legal ROS name for graph resources
      (alphabetical character followed by alphanumeric, underscore, or
      forward slashes). This constraint is currently not being enforced,
      but may start getting enforced in later versions of ROS.
docstring_tokens: Check if name is a legal ROS name for graph resources ( alphabetical character followed by alphanumeric underscore or forward slashes ) . This constraint is currently not being enforced but may start getting enforced in later versions of ROS .
function: def is_legal_name(name):
      """
      Check if name is a legal ROS name for graph resources
      (alphabetical character followed by alphanumeric, underscore, or
      forward slashes). This constraint is currently not being enforced,
      but may start getting enforced in later versions of ROS.
  
      @param name: Name
      @type  name: str
      """    
      # should we enforce unicode checks?
      if name is None:
          return False
      # empty string is a legal name as it resolves to namespace
      if name == '':
          return True
      m = NAME_LEGAL_CHARS_P.match(name)
      return m is not None and m.group(0) == name and not '//' in name
function_tokens: def is_legal_name ( name ) : # should we enforce unicode checks? if name is None : return False # empty string is a legal name as it resolves to namespace if name == '' : return True m = NAME_LEGAL_CHARS_P . match ( name ) return m is not None and m . group ( 0 ) == name and not '//' in name