SonarQube JavaScript
  1. SonarQube JavaScript
  2. SONARJS-22

Parser: Regular expression can contain empty class

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      We unable to parse:

      var a = /[]/;
      

        Activity

        Hide
        Fabrice Bellingard added a comment -

        Manually tested.

        Show
        Fabrice Bellingard added a comment - Manually tested.

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Evgeny Mandrikov
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: