Fixed #8 - regular expression in snippet