Victor Bien wrote:
I switched to regular expression mode and typed:
(^$)&&(^$) (^$) && (^$) in the search box but it doesn't work.
...
The Help is not clear how to implement the AND operator.
...
So can OO 2.0.3 do what I want it to do and if so how?
Last question first: No.
There is NO WAY in OOo to search across the end of a PP, so anything
after a '$' in an OOo RE will never match.
To find a completely empty paragraph, enter ^$ in the "Search For" box.
It works in 2.0.{2,3,4rc3}, except it fails to recognize an empty
paragraph in two situations (that I know of): at the very end of a
document and right before a table.
As you said (^$) does NOT work (i.e. with enclosing parens), although in
a standard RE search it would.
In standard regular expressions there is no 'and' operator. Matching
sub-patterns in sequence is implied by the sequence in the pattern.
If OOo RE's implemented the standard behavior, then something like ^$^$
would find two empty paragraphs, or (^$){2} would find two or more.
OOo RE's are not a "subset" of standard RE's, they are an attempt to
implement standard RE's which is broken in many respects and
non-standard in many respects. It is very confusing, due first to the
difficulty of the concepts, but 10 times more due to all the bugs and
incorrectly implementated features, so that documentation and experience
with standard RE's is misleading.
Even so, they are still quite useful.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]