var user = ‘C123456’;
var user = ‘domain\userid’
if(user == ‘C123456’)
and here one RegEx from my Java Custom rule that should match for all 3 cases above:
any chance to get such a rule template added?
it could be used in many ways to catch unwanted strings that projects have in their code, for example: