add cache for character class L.