Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-3765

The backslash character '\' is automatically duplicated by Sonar when defining a rule property value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Component/s: Measures, Rules
    • Labels:
      None

      Description

      Pattern in Checkstyle's Package Name rule is incorrectly updated automatically :

      The default format for the Package Name is
      ^[a-z]+(\.[a-zA-Z_][a-zA-Z0-9_])$

      However when I tried to change it to
      ^[a-z]+(\.[a-z][a-z0-9])$
      , Sonar automatically updated it to
      ^[a-z]+(
      .[a-z][a-z0-9])$
      which is incorrect (and my normal package name now becomes invalid now).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dgageot David Gageot
              Reporter:
              adrianshum Adrian Shum
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: