fix mistake in regex, remove -- check and escaped :