casual_spelling_hints_text_match: support multiple translations
commite1e0af31c544f93cd9591ca53ec8738f63a07019
authorJohn Foerch <jjfoerch@earthlink.net>
Sat, 14 Nov 2009 02:43:13 +0000 (13 21:43 -0500)
committerJohn Foerch <jjfoerch@earthlink.net>
Sat, 14 Nov 2009 02:43:13 +0000 (13 21:43 -0500)
treed01df5f4f26b3f9d24af6d7fe357524c3c8f5825
parent5d13b1709cb7ffeab1955259c8444e59add3fde5
casual_spelling_hints_text_match: support multiple translations

A single unicode character can now have multiple translations associated
with it.  This will be necessary for making a pinyin-based module for
pattern-matching Chinese text, because some characters have multiple
pronunciations.

Also fix an error whereby a unicode ligature character appearing in the
pattern could cause faulty math.
modules/casual-spelling.js