"jupyter lab build" fails with Invalid regular expression

This looks like an issue with JupyterLab and not JupyterHub, so I’ve changed the category on your topic.