Try it out!!
In this case you'll have to add the s modifier:
s (PCRE_DOTALL)
If this modifier is set, a dot metacharater in the pattern matches all characters, including newlines. Without it, newlines are excluded. This modifier is equivalent to Perl's /s modifier. A negative class such as [a] always matches a newline character, independent of the setting of this modifier.
(copy&paste from the DOC!!!)
eg
preg_match("/Object(.*?)eObject/s",$str,$match);