Updated regex for matching constants
Merge pull request #3 from viktorlindgren/master

Updated regex for matching constants