Auto apply different permission profiles on project creation

True , but in the link that i shared, someone from SonarQube mentioned it explicitly :

" Note that my first test didn’t work. I used a bash pattern (com.sonar* ) rather than a valid regular expression (com.sonar.* )."

However, if the expression was wrong, why then it worked when i made the second permission profile default?

I will try with " com.sonar.* " and see what happens without setting the permission profile default for all projects.