Player Experience Upgrade

version 2/111127 by Aaron Reed

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Stripping Punctuation

    A Smarter Parser rule when sp_normal (this is the stripping punctuation rule):
        if reborn command exactly matches the regular expression "<\?!>+":
            identify error as stripping punctuation rule;
            now reborn command is "help";
            reparse the command;
        if replacing "<*~\\\/()\{\}[quotation mark][bracket][close bracket]>" with " " is fruitful, even within words or
        replacing "<!?>+$" with "" is fruitful, even within words or
        replacing "<;:!?>+(?=(<^;:!?>|$))" with ". " is fruitful, even within words [regex here means any run of first set of characters that's followed by either something not one of those characters or the end of the line] or
        replacing "&" with " and " is fruitful, even within words:
            identify error as stripping punctuation rule;
            reparse the command.