How to use flex to parse a string, but not a stream?

"David D." <[email protected]> Mon, 20 Feb 2006 17:16:51 +0800
Newsgroups gmane.comp.lex.flex.general
Message-ID <[email protected]>
I find class yyFlexLexer generated by flex doesn't supply a member  function
to parse a string (char*).
But I want a function can do this, is there any good idea?
Thanks!
--
David D.

_______________________________________________
Help-flex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-flex