Corrected a bug in ThemeValue where the regex do not correctly
recognizes a matching string.