Validate pattern

Hi, I've just added new option that allows to validate tag content. You guys are great.