GNOME Bugzilla – Bug 451142
Can't search for phrases crossing line boundaries
Last modified: 2007-06-26 07:23:52 UTC
Please describe the problem: If you search for a phrase, say "Mary had a little lamb", and the document contains "Mary had\n a little lamb", where '\n' is the newline character, the occurrence will not be found. Technically, the search is not broken because I did not specifically search for a phrase with a newline in it. Acroread has the same behavior. However, I think this is not what most people want. Steps to reproduce: 1. Make a PDF with text spanning two lines. 2. Search for a phrase that crosses the line boundary. Actual results: The occurrence is not found. Expected results: I would expect it to find the phrase, however I understand that there are parsing issues, i.e., what whitespace is allowed in search matches? Maybe the solution is not obvious. Off the top of my head, I'd say replace every whitespace in the search phrase with a wildcard, and let this wildcard match any whitespace in the text. I think the spurious matches this might allow (i.e., crossing paragraph boundaries) would be "less worse" than being unable to find phrases that cross line boundaries. Does this happen every time? Yes Other information:
Hi, this looks like a bug with the PDF backend. Could you please follow these instructions to help get this bug fixed. Thank You. http://live.gnome.org/Evince/PopplerBugs#poppler
And actually we already have bug report about this. Sorry *** This bug has been marked as a duplicate of 408299 ***