Discussion:La Chanson de Roland/Francisque Michel/1869/Concordances

De Wicri Chanson de Roland

Utilisation de lex

%START PAGE
%START LAISSE
%%
", page"  BEGIN PAGE;
<PAGE>[0-9]+  {printf ("|| {{CdR MO Michel 69 lien page|%s|", yytext); BEGIN LAISSE; }
<LAISSE>[XVICL]+ {printf ("%s}}", yytext); BEGIN 0;}
. ;
%%
int main()
{
   yylex();
}


%START PAGE
%START LAISSE
%%
", page"  BEGIN PAGE;
<PAGE>[0-9]+  {printf ("|| {{CdR MP M69 lien page|%s|", yytext); BEGIN LAISSE; }
<LAISSE>[XVICL]+ {printf ("%s}}", yytext); BEGIN 0;}
. ;
%%
int main()
{
   yylex();
}


%START PAGE
%START LAISSE
%%
", page"  BEGIN PAGE;
<PAGE>[0-9]+  {printf ("|| {{CdR MC M69 lien page|%s|", yytext); BEGIN LAISSE; }
<LAISSE>[XVICL]+ {printf ("%s}}", yytext); BEGIN 0;}
. ;
%%
int main()
{
   yylex();
}

Pages annotées

Vérification intermédiaire : aucune annotation entre la page 10 et 71