Hi,
Harold Fuchs wrote:
On Tuesday, October 10, 2006 10:36 AM [GMT+1=CET], Terry <[EMAIL PROTECTED]>
wrote:
<snip>
My understanding is that regex does not work in OpenOffice as it
should, which is a bit of a disincentive to master the art.
On 2.0.3 Win XP regexp is definitely broken. For example there is no way to
search for ^$^$ which should find two blank lines or for any extension of that
such as ^$^$(^$)* which should find two or more blank lines.
Even the expression (^$) doesn't work.
The OP's problem seems insoluble ???
The Help authors never promised that OOo can do what any user thinks it
"should". The current help for the $ sign is like this:
$ - Only finds the search term if the term appears at the end of a
paragraph. Special objects such as empty fields or character-anchored
frames at the end of a paragraph are ignored. Example: "Peter$".
So the $ sign is a kind of "end-of-line" position marker within an
expression. It modifies the previous part of the expression. Without
looking into the code (I'm certainly not a programmer), I would say that
a sequence of two consecutive $ signs is not defined. So don't expect
anything sensible from this sequence.
OOo Writer's regular expressions are a modified subset of the Unix style
regular expressions. A good programmer or hacker can have a look at the
code or run an extensive set of tests and then return a list of the
modifications.
Uwe
--
[EMAIL PROTECTED] - Technical Writer
StarOffice - Sun Microsystems, Inc. - Hamburg, Germany
http://www.sun.com/staroffice
http://documentation.openoffice.org/
http://documentation.openoffice.org/online_help/index.html
http://blogs.sun.com/oootnt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]