- split quoted and unquoted image case into separate regexps, since we can't include a group reference inside a character set - disallow spaces in the non-quoted case - this should fix matching on images with other attributes again