I noticed what seems to be a pretty bizarre bug with the in-built Stack Snippets console in my answer here: https://stackoverflow.com/questions/77858025/how-to-negate-the-whole-regex/ When I run the sample, I get the following output in the in-built console, seemingly consistently in this order: ...