Dmitry Kandalov
08/27/2023, 3:40 PMTokens.space.optional() is what ChatGPT generated. As usual, it casually makes things up 🤷 (Technically speaking this is all it does.)
Not sure about .optional(), if there is an extension function for it, then nonRecursive, repeat, zeroOrMore and oneOrMore should probably also have one. On the other hand, don’t remember why/how I decided that ref deserves an extension function 🤔