move templates* lexers to gen root
move reg exp lexer to gen root