X-Git-Url: http://git.ieval.ro/?p=filters.git;a=blobdiff_plain;f=newspeak.l;h=51333abd1034927d31f785ae344897f0ba6cfa9f;hp=67b2c5e2b074f964c60f2b4370b1def93e0d09ad;hb=3872d98cd3176214e90886a2b7805f806854529b;hpb=8e949d021a3c4329539dd28bd884ea8b6d05fec2 diff --git a/newspeak.l b/newspeak.l index 67b2c5e..51333ab 100644 --- a/newspeak.l +++ b/newspeak.l @@ -584,7 +584,7 @@ robably|ventually|[Oo]bvious|[Bb]asic|{W}[Oo]nly|otally | if (14 == fcounter++) printf("(fnord) "); } -[.,!?]\"([^\n\".!]+[.!])?\n/[\n\t ] printf("%c Hail Big Brother!\"%s",Y0,yytext+1); +[.,!?]\"([^\n\".!]+[.!])?\n/[\n\t ] printf("%c Hail Big Brother!\"%s",Y0,yytext+2); \"([.,!?][^\n\".!]+[.!])?\n/[\n\t ] printf("%c Hail Big Brother!\"%s",Y1,yytext+2); . printf(yytext);