Documentation for regex on requireProperty incorrectly includes quotes around 
regex
-----------------------------------------------------------------------------------

                 Key: MENFORCER-76
                 URL: http://jira.codehaus.org/browse/MENFORCER-76
             Project: Maven 2.x Enforcer Plugin
          Issue Type: Bug
          Components: Standard Rules
    Affects Versions: 1.0-beta-1
         Environment: Documentation issue. Env. not pertinent.
            Reporter: Matthew McCullough
            Priority: Minor
         Attachments: regexdocumentationfix.diff

The documentation page enforcer-rules/src/site/apt/requireProperty.apt (or 
http://maven.apache.org/enforcer/enforcer-rules/requireProperty.html) shows a 
demonstration of a regex for the requireProperty rule.  It incorrectly includes 
quotes around the regex when none are required (in fact, causes the regex match 
to fail).

I am including a patch that removes the incorrect quotes around the regex and 
also provides a second example with a more complex regex.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to