At 16:24 29/06/2009 -0700, John Jason Jordan wrote:
I can easily search backwards for Date, but I can't figure out the syntax for the Find operation to search and select Date and then to the next instance of an empty paragraph. According to the documentation the following in the Find box should work, but it does not:

Date.^$

There are two problems here, I think.

o First, the "." matches only a single arbitrary character: in order to match a number of characters, you need to follow it by either an asterisk or a plus sign, as appropriate.

o I think regular expressions in Writer will deal only with material within a single paragraph. If that is so, the best you can do is to match the word "Date" and the rest of the paragraph containing it. (I hope I'm wrong about this!) Certainly .* or .+ will not match text across either line breaks or paragraph breaks, as the help text makes clear.

I trust this helps.

Brian Barker


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

Reply via email to