PPT Slide
* Parse slash-delimited book data.
[^/\r\n]+ { System.out.print(yytext()); }
"/" { System.out.print("/"); }
\r|\n|\r\n { System.out.println(); }
The lexer will consume the
input. When it gets to the
largest token that matches a
regular expression it stops and
executes the action. Then it