lex?

flexのFAQに、
How can I match C-style comments?
ってのがあるよ。