%{
#include<stdio.h>
%}
%%
[a-zA-Z0-9_.]+@[a-zA-Z0-9]+\.[a-zA-Z]{2,4} { printf("Valid Email: %s\n", yytext); }
.|\n { /* Ignore other characters */ }
%%
int main() {
yylex();
return 0;
}
int yywrap() { return 1; }
JXsKI2luY2x1ZGU8c3RkaW8uaD4KJX0KCiUlClthLXpBLVowLTlfLl0rQFthLXpBLVowLTldK1wuW2EtekEtWl17Miw0fSAgeyBwcmludGYoIlZhbGlkIEVtYWlsOiAlc1xuIiwgeXl0ZXh0KTsgfQoufFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsgLyogSWdub3JlIG90aGVyIGNoYXJhY3RlcnMgKi8gfQolJQoKaW50IG1haW4oKSB7CiAgICB5eWxleCgpOwogICAgcmV0dXJuIDA7Cn0KCmludCB5eXdyYXAoKSB7IHJldHVybiAxOyB9