Taking a quick look at the (not terribly impressive) Flex docco, I'd suggest you try the Posix-compliance switch to Flex to see if that helps. Either way, you'll have eliminated some variables.
fwiw, Expresso thinks you regex is OK.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012