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 filesystem 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 filesystem 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 filesystem 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_resource_name(name):
      """
      Check if name is a legal ROS name for filesystem 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
      """
      # resource names can be unicode due to filesystem
      if name is None:
          return False
      m = RESOURCE_NAME_LEGAL_CHARS_P.match(name)
      # '//' check makes sure there isn't double-slashes
      return m is not None and m.group(0) == name and not '//' in name
function_tokens: def is_legal_resource_name ( name ) : # resource names can be unicode due to filesystem if name is None : return False m = RESOURCE_NAME_LEGAL_CHARS_P . match ( name ) # '//' check makes sure there isn't double-slashes return m is not None and m . group ( 0 ) == name and not '//' in name