|
Pattern searching pattern in c files
I have a problem in searching a specific pattern in c files.
My requirement:
I have to find all the division operator in all cfiles.
The problem is, the multi line comments and single line comments will also have forward slash in it.
Even after avoiding these comments also, if both the division operator and the comments come in the same line, we are missing the division operator.
Please provide me the solution...
Give me some suggestions
|