The current regexes only make sure the entered command is valid, but not that it follows the actual demo 'script'. I also had trouble getting the demo to not use single-quotes or colons as capture groups, and then cut off the message.