To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108273
                 Issue #|108273
                 Summary|regular expression skips paragraphs
               Component|Word processor
                 Version|OOo 3.1.1
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|editing
             Assigned to|writerneedsconfirm
             Reported by|badrian





------- Additional comments from [email protected] Wed Jan 13 03:55:59 
+0000 2010 -------
Hi!

I hope this is not a duplicate issue.
Here is description of the problem.
I noticed that if the size of a paragraph is relatively large (more than one
page Letter), the a search using regular expressions skips that paragraph. I
mention that I am aware of the fact that there is a limit size of characters in
a paragraph, however the issue is with "normal" sizes.

Attached it is included a test doc file. It includes 3 paragraphs, with the 2nd
the largest. The point of interest is the quoted text that it is emphasis.

1. Put the cursor at the beginning of the 1st para.
2. Ctrl+f to open the search engine.
3. In the "search for" field put 
“(.*)”
Please copy and paste the above text exactly, since the quotation characters are
different at the beginning and at the end of string. You can look to see the
difference better in the attached file.
The search string should capture all the text in between two quotation marks.
4. Select Regular expressions from More Options expansion.
5. Click once Find button.
The text 
“Evidently some ...”
should be highlighted.
6. Click Find one more time
Notice that the 2nd para is skipped although it has text in quotes, and only the
text in 3rd para is selected.

Here there are 2 observations.
a) If the 2nd para is broken in 2 almost equal sizes and perform the same
operations as above, the find will identify the text quoted in the 2 para (that
is now in 2 parts).
b) Let's go back at the 3rd para. Notice that the text identified include 2
consecutive sentences that are quoted, i.e. the text FROM “The promises were ...
TO with the promise”.
This is not normal. It should find the two different sentences, first “The
promises were ...his seed” and after that the following sentence "“What I mean
... with the promise”.
Note that if I use the adds-on "AltSearch" extension
http://extensions.services.openoffice.org/project/AltSearch
the search in 3rd para identifies the 2 sentences correctly. However, the issue
with searching in 2nd para persists.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to