flex escape sequences

Greg Lee lee at uhccux.UUCP
Thu May 5 23:04:27 AEST 1988


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



More information about the Comp.sources.bugs mailing list