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*

4
  • \$\begingroup\$ What do the emojis mean? \$\endgroup\$ Commented Apr 14, 2023 at 20:13
  • \$\begingroup\$ @Bbrk24 Except for rabbit, they're animals documented to be able to count. Bee ๐Ÿ is output via number of matches, because counting that is fairly lightweight to implement in most languages (bees are small). Elephant ๐Ÿ˜ is output via capture count, because that is in a way kind of overkill (elephants are big), since in .NET a capture stack contains the contents of its captures, which is potentially much more information than just the number of captures. Rabbit ๐Ÿ‡ is output via number of ways it can match, because rabbits multiply (breed), and this output method is great at multiplying. \$\endgroup\$ Commented Apr 14, 2023 at 20:32
  • \$\begingroup\$ @Bbrk24 The reason I use emojis for those output methods is to differentiate them from output via the length of a string. Depending on the challenge, it can be a very different, or sometimes even impossible, to output via the length of a string instead of the count of something. Trivially it's impossible to output a number larger than the input without using a counting-style output, but also there are ones like totient function in ECMAScript where it's much more complicated and interesting to output via string length than some type of count. \$\endgroup\$ Commented Apr 14, 2023 at 20:33
  • \$\begingroup\$ Interesting, thanks! \$\endgroup\$ Commented Apr 14, 2023 at 20:34