regex++ submission
minor submission changes