More consistent solution

This `\:[a-zA-Z_]+` regex pattern is used elsewhere in this module to perform the same task. Thought it would be better to maintain a level of consistency. All tests passed with this change.