Creating customized rules using RegEx

Hi Sonarsource Community,

I am using Sonarqube version 6.7.6 and I use JSON plugin in validating json files.
However, when I created customized rules using regex and start validating json files, it won’t work.
I’ve noticed that the /s for whitespace causes it. The Sonarqube wont accept space /s expression.
Do you have an alternative way to be able to validate json files with spaces in between?
And I already tried the [[:space:]] POSIX. Still, it wont work.

Please help me on this one.

Thank you!


Hey @rnktns

Please don’t raise duplicate threads.

I will close this one.