
3 Oct
2008
3 Oct
'08
12:26 p.m.
On Oct 3, 2008, at 09:24 , Manlio Perillo wrote:
Manlio Perillo ha scritto:
However I have noted that there are some difference in the syntax between Alex and Flex? What is the rationale?
By the way, here is the list of differences between Alex and Flex I have found, for people interested:
3) Alex does not support [_a-z0-9-] that must be rewritten as [_a-z0-9\-]
The only *reliable* way to write that cset is to put the '-' as the first item. Likewise for ']' (and if you must match both, "[-]...]"). -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH