 the trouble of writing some
<a href="http://en.wikipedia.org/wiki/Bounds_checking">bounds checking</a>
code to prevent a
<a href="http://en.wikipedia.org/wiki/Buffer_overflow">buffer overflow</a>
in case of a malformed pattern.
</p>
<p>
Now we have to think of a way to handle missing or unrecognized nouns.
Suppose the user makes a typo and enters &ldquo;go kave&rdquo;.
Question is, should this command match the pattern &ldquo;go A&rdquo; or not?
If we don&rsquo;t, then the command will fail to match <i>any