Fix lex dot is not a compound regexp