fixing multiline regexp warnings.