Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 2
    \$\begingroup\$ Technically this breaks the rules due to it not working with whitespace-less inputs. However this is an edge case I didn't think about, and my intention was to allow submissions to assume there are spaces around the pipe operators. Therefore I will retroactively change the rules to allow this. \$\endgroup\$ Commented Mar 30, 2021 at 16:15
  • \$\begingroup\$ I didn't read carefully at all, my bad. \$\endgroup\$ Commented Mar 30, 2021 at 16:21
  • 3
    \$\begingroup\$ Sorting the close parentheses to the right is clever. \$\endgroup\$ Commented Mar 30, 2021 at 16:31