I am looking at this sub-expression (this is in JavaScript):
(?:^|.....)
I know that ? means \"zero or one times\" when it fol
?: Generally indicates making the group a non capture. You can do some research here.
I'm almost positive any regex engine should but when I switch between engines I run into some quirks.
Edit: This should be the case, non captures seems to work fine.