That's the gist of it. The checks happen in order, and even a partial match is a match. So "nightgown" gets picked up by "gown", which is good, and "bracers" gets picked up by "bra", which is bad. (Sorry about that, Rosie. It's fixed now.)
Aha! That makes good sense, and also solves a problem I was having with a very nonstandard character. Thanks for the additional clarification!