Well, not sure if that's a bug.. it just doesn't do it. I can confirm that if you like, found it out when I was making my NoobLottery script.
I guess you could make one yourself by making two 'static' arrays of both lowercase and uppercase symbols and run them through a regexpreplace function together with your strings.