From: "Bryan Russell" Organization: SCITEC LIMITED To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Tue, 14 Feb 1995 12:43:48 +1100 Subject: Flex rules I have a Lex source file I need in a project I working on that as a rule : [A-Z][A-Za-z0-9_] This causes a unknown rule error when passed through Flex but appears to work ok with the lex on HP-UX. If I change it to : [A-Z][_A-Za-z0-9] It passes through Flex OK, but the otherwise unchanged source when compiled appears not to work ( works fine when compiled on the unix machine) To my way of thinking the two rules above should mean the same thing can anyone confirm this and perhaps tell me why the original fails? Thanks, Bryan Russell Net : bryan-r AT mis DOT scitec DOT com DOT au Technical Support Specialist Phone : +61 2 428 9570 _--_|\ SCITEC LIMITED Fax : +61 2 428 9988 / \ 3 Apollo Place, Lane Cove, NSW 2066 \_.--._* AUSTRALIA v