update regex to allow c:

fixes #856