%{
#include <stdio.h>
%}

%%
\+|\/|\*             { printf("operateur\n"); }  // Match '+', '/', or '*' and print "operateur"
F+                   { printf("Une suite de F\n"); }  // Match one or more 'F' and print the message
(ab){2,}             { printf("Deux ab ou plus\n"); }  // Match "ab" repeated two or more times
[A-Za-z0-9]{3}       { printf("Mot de longueur 3\n"); }  // Match exactly 3 characters (letters or digits)
.                    { /* Ignore other characters */ }  // Ignore any other input
%%

int main() {
    yylex();  // Start scanning input
    return 0;
}
