Flex is great, and I'm really happy to have it. Here's a little incompatibility with lex that I ran across. Would you expect the following flex statment to match a ^ character? (There are 2 tabs after the pattern.) \^ printf("I saw a hat."); It doesn't -- it matches a tab character instead. Greg, lee at uhccux.uhcc.hawaii.edu