Matching octal in LEX

R. A. Swanson swanson at ihlpl.UUCP
Thu Jul 24 11:09:34 AEST 1986


	I am using SVR2 lex and I need to be able to match the
octal "\240" (meta-backslash). None of the following work:

" \240\n"	|
[ \240\n]	|
.*		|
.+		;

The lex manual states that the operator character . (dot) is the
class of all characters except newline.  Does this class not
include any octal sequence?

Robert A. Swanson
ihnp4!ihlpl!swanson

AT&T Bell Labs
Naperville, Illinois
IH6N529



More information about the Comp.lang.c mailing list