[
https://jira.codehaus.org/browse/MCHECKSTYLE-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MCHECKSTYLE-103.
--------------------------------------
Resolution: Duplicate
Assignee: Robert Scholte
Filed twice after each other
> Error in site whith 2 Regexp checks
> -----------------------------------
>
> Key: MCHECKSTYLE-103
> URL: https://jira.codehaus.org/browse/MCHECKSTYLE-103
> Project: Maven Checkstyle Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Environment: Windows, Maven 1.7, Java 5
> Reporter: Benjamin Pochat
> Assignee: Robert Scholte
> Attachments: checkstyle-result.xml, screenshot.JPG
>
>
> I have 2 different Regexp checks with 2 different regular expressions as
> described above.
> In the site, in the "Rules" part, I have 2 lines for the 2 checks. This is ok.
> The issue is that the 2 lines have the same number of violations, wherease
> the second regexp is never matched over the whole project (cf the screenshot
> and the xml result provided as an attachment).
> <module name="Checker">
> <module name="TreeWalker">
> <module name="Regexp">
> <property name="id" value="test1"/>
> <property name="format" value="(.*)(\bEvenement\b)(.*)"/>
> <property name="illegalPattern" value="true"/>
> <property name="ignoreComments" value="true"/>
> </module>
> <module name="Regexp">
> <property name="id" value="test2"/>
> <property name="format" value="(.*)(\bXvenement\b)(.*)"/>
> <property name="illegalPattern" value="true"/>
> <property name="ignoreComments" value="true"/>
> </module>
> </module>
> </module>
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)