From: Jeremy Stanley Date: Tue, 2 Jun 2015 06:08:02 +0000 (+0000) Subject: Fix punctuation match order and add tests X-Git-Tag: 0.0.1~213 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=74542e2249c308c6c40aef50eaf227b46fd1bc9d;hp=74542e2249c308c6c40aef50eaf227b46fd1bc9d Fix punctuation match order and add tests Add explicit punctuation functional tests with a conversation between the two test sessions, and fix a nondeterministic bug this exposed. Punctuation is now matched in a sorted order rather than arbitrary hash table lookup order, and the sort is reversed so that the longest match always wins. ---