On Sat, Jan 3, 2009 at 4:28 AM, Yeti <yeti@xxxxxxxxxx> wrote: > What if the whole text has only 1 line? > I would worry more (though probably not much) about the fringe cases where a match spans across lines (or pages) such that it would either prevent a qualifying match from being returned at all, or a highly relevant result could be returned at the bottom of the list as two less-relevant results because of the line split. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php