Ad
  • Custom User Avatar

    Nope, I didn't realize \Z also caught trailing newlines. Thanks for the heads up! I'll update my solution.

    EDIT: Turns out this is my old solution. Its already been improved.