Javascript – Unable to group parts of the regex together to make the intended operator precedence explicit
I’m currently facing an issue with a regex that's causing problems in SonarQube, which requires grouping to make the intended operator precedence explicit. After grouping the regex, it’s not working as expected. SonarQube Issue: SonarQube flags that the regex should…