BF: Seems to be a bug in the snippet, path seems to come back with a literal '^' which the provided regex will not match against unescaped