Hello Zoe, %s = [\n]+?
If that affects any test we have to fix those :-) marcus Monday, September 10, 2007, 10:02:48 PM, you wrote: > Marcus Boerger wrote: >> Hello Zoe, >> >> now i get the issue. It grabbs more than one line! This means >> run-tests.php has to be fixed. The whole thing is designed under >> the assumption that %s catches no new lines and hence only one >> line. >> >> >> > That would be the best answer but I think it's a difficult fix and > whatever it was might break other tests. I think it would mean replacing > %s with something other than .+?. I'll have a look tomorrow and see if I > can find a regex that would do - one of the things that had me confused > for a while was that I thought the ? (non-greedy qualifier) should > guarentee the minimum match but it doesn't work quite like that. > Zoe Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php