I needed to build a rather complex scanner for an HTML code-generator and (on a separate project) a mib parsing tool. This book got me up and running within a week or so. The examples are useful and the authors cover many of the different "flavors" of these tools (i.e. flex, bison, etc.) I highly recommend it.