It is correct that a lack of regulation failed to keep limits on credit, but it was the Federal Reserve's artificially low interest rates that blew the credit bubble.
Indeed, many analysts now say Spain could manage to sidestep a programme altogether, as the possibility of ECB intervention continues to keep Madrid's borrowing costs low for long enough for it to cut the budget deficit and get the economy back on track.