allthedrones / agentsmithplugin

Automatically exported from code.google.com/p/agentsmithplugin
0 stars 0 forks source link

Regex for method name seems not to work always #163

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I added a rule for "any methods"
2. Style is "Regular Expression Match"
3. The regex is [A-Z][A-Za-z0-9]+

What is the expected behavior? What do you see instead?
I expected to see an warning for method names not starting with an uppercase 
letter and for method names containing an underscore. Instead all method names 
are accepted as valid. If I change the regex to [A-Z] for testing purposes all 
method names are flagged as invalid.

What version of ReSharper, Visual Studio and Windows do you use?
Resharper 5.1.1727.12 Visual Studio 9.0.30729.1 (2008)
Please provide any additional information below.

Original issue reported on code.google.com by BEx...@gutsch.de on 4 Aug 2010 at 3:23