define constants for regexp character classes
Merge pull request #2 from mojavelinux/pr-668-review

Use constants for regexp character classes