Allow whitespace in beginmin regex