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

Rule S6019: Reluctant quantifiers in regular expressions should be followed by an expression that can't match the empty string

    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 S6019 by finding all reluctantly quantified expressions using a visitor and then use the linked helper method to find out whether its continuation can match the empty string.

        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: