I've got an expression like this:
/* pierwszy */ using System;/* drugi */
and I want to match all comments in this line.
But this regex:
\/\*(.*)\*\/
is unfortunately not working, because it matches that:
pierwszy */ using System;/* drugi
So, as you can see, it matches the whole expression. Anybody knows how to write a regex to match subgroups, not the whole expression?