Player Experience Upgrade

version 2/111127 by Aaron Reed

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Unnecessary possessives

    [Convert a command like >GET BOB'S JACKET to >GET JACKET, but leave alone >BOB'S A WEIRDO or >GET APPLE'S. ]

    A smarter parser rule when sp_normal (this is the stripping possessives rule):
        if input contains "\s(\w*[apostrophe]s)\b\s":
            replace the regular expression text matching subexpression 1 in the reborn command with "";
            identify error as stripping possessives rule;
            reparse the command.