I just glanced at the CharClass module and believe that the IsUpper() function is incorrect. It is currently equivalent to IsLower(). Michael G.