Index: wp-includes/functions.php
===================================================================
--- wp-includes/functions.php	(revision 12486)
+++ wp-includes/functions.php	(working copy)
@@ -257,13 +257,13 @@
 		case 'a' :
 		case 'O' :
 		case 's' :
-			if ( preg_match( "/^{$badions[1]}:[0-9]+:.*[;}]\$/s", $data ) )
+			if ( in_array(substr($data, -1), array(';', '}')) && preg_match( "/^{$badions[1]}:[0-9]+:/", $data ) )
 				return true;
 			break;
 		case 'b' :
 		case 'i' :
 		case 'd' :
-			if ( preg_match( "/^{$badions[1]}:[0-9.E-]+;\$/", $data ) )
+			if ( preg_match( "/^{$badions[1]}:[0-9.E+-]+;\$/", $data ) )
 				return true;
 			break;
 	}
