ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/02/17/09:50:57

Date: Fri, 17 Feb 1995 08:12:34 -0500 (CDT)
From: Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU>
Subject: Re: Flex rules
To: BRYAN-R AT mis DOT scitec DOT com DOT au
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Rockhurst College; Kansas City, MO

>and the rule was really [A-Z][A-Za-z0-9-_] which is supposed to read as 
>Starting letter of A to Z, the rest of the leters consisting of A to Z or a to
>z or - or _. I now know why the resulting script compiler didn't work as the
>first line of the test source script had a '-' in it. 
>
>Is there some sort of special delimiter to include '-' in the rule or should 
>the context sort it out?

I imagine it might work to escape it with a backslash.

--- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) -=- httyp!
-=*=-Just because you're paranoid doesn't mean they aren't out to get you.-=*=-
Geek code 2.1 [finger hayden AT vax1 DOT mankato DOT msus DOT edu for explanation]: 
 GCS/M/S d(-) H s g+ p? !au a-- w+ v+ C++(+++)>++++ UL++(-)(S+)>++++ P++ 
 L+(++) 3(-) E-(----) !N>++ K- W-(---) M-(--) V(--) po-(--) Y+(++) t(+) !5 j R 
 G tv--(-) b+++ !D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019