Regex problem for straight quotes preferred in style guide

Might not be the problem, bu you are using single quote around ‘yes’, and double in for name value e.g.