%{
#include <stdio.h>
%}

%%

[+-]?([0-9]\.[0-9]+|[0-9]+\.[0-9]) {
    printf("Signed Real Number: %s\n", yytext);
}

.|\n   { /* ignore other input */ }

%%

int main() {
    yylex();
    return 0;
}