I need to count number of occurrences of conditional (ternary) and comma operators in .c file. Problem is the conditional operator can be of any kind (it can be the easiest one and it can be really long compound one). The same applies to comma operator.
I don't absolutely know how to do that. I thought using regex match to find it, but it's probably not the best option. Have you better idea?
Aucun commentaire:
Enregistrer un commentaire