That's a good question. I would like to know the answer myself. Andrew Ng says in his class that

is not subject to regularization without explaining why of course. Here, in this class, we've applied regularization to everything (if I am not mistaken).