This is an unfortunate regex. Not sure if there is a similar way, but if there is, we should update it.