Improvements on the redneck translator.

This commit is contained in:
Storm Dragon 2020-08-21 13:44:51 -04:00
parent 43f6bc9862
commit 77c1b6a521
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ redneck() {
-e "s/(^| )thing( |,|\?|\.|!|$)/\1thang\2/gI" \
-e "s/(.\w+)ink(.*)/\1ank\2/gI" \
-e "s/(^| )A /\1uh /gI" \
-e "s/(.*)i([^a|^e|^u|^ble|^ck|^ll|^ndo|^on|^ps|^s|^v].*)/\1ah\2/gI" \
-e "s/(.*)i([^a|^e|^u|^ble|^ck|^ft|^ll|^ndo|^on|^ps|^s|^v].*)/\1ah\2/gI" \
-e "s/(^| )I( |,|\?|\.|!|$)/\1Ah\2/g" \
-e "s/(^| )(boy|dude|fellow|guy|man)([?s])( |,|\?|\.|!|$)/\1feller\3\4/gI" \
-e "s/(^| )for( |,|\?|\.|!|$)/\1fer\2/gI" \
-e "s/(^| )(hello|hey|hi|how's it going|hows it going)( |,|\?|\.|!|$)/\1howdy\3/gI" \