Prefix question.


R. Clayton (rclayton@clayton.cs.monmouth.edu)
Wed, 17 Jan 2001 19:01:09 -0500 (EST)


  Your instructions for assignment 6 states that the empty prefix matches any
  word. Does this mean that if the command sent is a space it should match all
  commands?

It doesn't. The empty prefix contains no characters; a prefix consisting of a
space contains a character (the space character) and is different from the
empty prefix. The space prefix would match all those commands that begin with
a space charactter (which, given the whay commands are defined for this
problem, don't exist).



This archive was generated by hypermail 2.0b3 on Thu May 17 2001 - 12:00:05 EDT