Changed <code> regex to <code.*?> to catch all candidates.