I have coded a structured pattern that should be detecting <input/> elements with an id attribute but no name attribute. All the details are in the image below. There is a regex match on the attribute names that should not match if the 'name' attribute already exists. However, it does not fail, but instead matches an element like <input id="foo" name="foo" style=""/>. Also, it does not seem to matter if I toggle the regex between "should" and "should NOT". It matches either way.
Could you please specify ReSharper version you are using?
It's in the tags. R# 7.1 on VS2010.
I've checked that and confirmed it as a bug in ReSharper on SSR subsystem. It is now logged in YouTrack here for further fixing: http://youtrack.jetbrains.com/issue/RSRP-338717
Thank you for your report!