Created
September 30, 2010 23:56
-
-
Save peterkeen/605519 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# <-Foo> => random singular element from @Foo, hyphenated | |
# <^Foo> => random singular element from @Foo, capitalized | |
# <&Foo> => random singular element from @Foo with the first word capitalized | |
# <.Foo> => random singular element from @Foo, with the first word lowercased | |
# <!Foo> => random singular element from @Foo, ALLCAPS | |
# <*Foo> => random singular element from @Foo with articles stripped | |
# <,Foo> => random singular element from @Foo with spaces replaced with underscores | |
# <+Foo> => random singular element from @Foo with spaces replaced with plusses | |
# <~Foo> => random singular element from @Foo with spaces removed | |
# <#Foo> => random singular element from @Foo with 'fucking' inserted before some word | |
# <*>s => Inflect as plural | |
# <*>'s => Inflect as possessive | |
# <*>ing => Inflect as gerund | |
# <*>e => Inflect as ye Olde English | |
# word^ => When inflecting this string, inflect the word just before the caret. | |
# By default, only the last word is inflected. | |
# Can be used multiple times to inflect multiple words. | |
# <*>^H => introduce a "typographical" error. | |
# a^, an^ => (special case) Nuke indefinite article when pluralizing | |
# ^ => (at beginning of string) Don't inflect at all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment