Ah, true. That was copy/paste from the regex tester I use to verify my regexes are matching properly.
Yeah, I discovered that after I gave it a test and saw what it did (was trying to do this without any way to test it and I really don’t do it very often anymore)
This is my OCD, as I hate when URL …/reference/a works but …/reference/a/ doesn’t.