From: Janet Davis (jlnd_at_cs.washington.edu)
Date: Tue Feb 03 2004 - 12:02:12 PST
On Tue, 3 Feb 2004, Eileen Hash wrote:
> We were just implementing the ping command with names and were wondering
> what sort of names should be supported. Should names be allowed to
> include spaces, or the colon character, for example?
Good point -- parsing a command could be difficult if a node name included
a space or colon. As a simple convention, let's let names include
alphanumeric characters, dash, and underscore. IIRC, you can match this
using the pattern [\w-_]+ -- please correct me if I'm wrong.
Cheers,
Janet
-- Janet Davis jlnd_at_cs.washington.edu http://www.cs.washington.edu/homes/jlnd/ _______________________________________________ Cse461 mailing list Cse461_at_cs.washington.edu http://mailman.cs.washington.edu/mailman/listinfo/cse461
This archive was generated by hypermail 2.1.6 : Tue Feb 03 2004 - 12:02:16 PST