You could just capture as `org`, `course`, and `name`, and then prefix `_id.`. That would at least make the regex clearer.