Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-3572

Rule S6035: Single-character alternations in regular expressions should be replaced with character classes

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.10
    • Component/s: Rules
    • Labels:

      Description

      Implement S6035 by visiting all disjunctions and checking whether all alternatives are PlainCharacterTrees.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastian.hungerecker Sebastian Hungerecker
              Reporter:
              sebastian.hungerecker Sebastian Hungerecker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: