make sense of what's happening
have you tried regexr.com ?
yes. The only difference with tests is where the nested one is able to match /demo That doesn't makes a lot of sense to me. Unless the nesting is equivalent to: /demo(?:/)?(.*)?$
pretty sure that's the case
I mean regexr specifically gives you a breakdown of every character as an explanation
regex101 does too
I know. I’m saying that regexr can help troubleshoot this
funny thing: it was of no help
Обсуждают сегодня