Currently, ComplexRegexFinder reports on the whole regex. The result in the different products will not be optimal: secondary locations will overlap with the primary one, making the whole issue difficult to understand. In the Java analyzer, we went for the solution to highlight only the opening quote (see SONARJAVA-3476).
We should probably adopt this solution in this project, in order to improve the situation for all languages relying on it.
Currently, ComplexRegexFinder reports on the whole regex. The result in the different products will not be optimal: secondary locations will overlap with the primary one, making the whole issue difficult to understand. In the Java analyzer, we went for the solution to highlight only the opening quote (see SONARJAVA-3476).
We should probably adopt this solution in this project, in order to improve the situation for all languages relying on it.