Thanks, Roderick. I don't think OOo provides the required functionality. I'll enter a RFE.
________________________________________________ Bruce Button Tel: 012-331-7072; Fax: 012-331-2685; Cell: 082-412-4972. PO Box 31442, Waverley, 0135, South Africa. Email: [EMAIL PROTECTED] > -----Original Message----- > From: G. Roderick Singleton [mailto:[EMAIL PROTECTED] > Sent: 10 March 2006 05:28 PM > To: [EMAIL PROTECTED] > Cc: [email protected] > Subject: Re: [users] Non-greedy regular expressions in OpenOffice.org > > On Fri, 2006-03-10 at 16:51 +0200, Bruce Button wrote: > > Can anyone tell me how to make a regular expression "non-greedy". > > > > I.e. If I have the string "first list of words second another list of > words > > second" and I search for "first.*second", the Writer search function > will > > find "first list of words second another list of words second" - i.e. it > is > > "greedy". However, I only want to find "first list of words second". > > > > Some regular expression engines use the syntax "first.*?second" for > > non-greedy searches. Can anyone tell me how OOo handles this? > > > > Bruce, > > The list of regular expressions on page 41 of > http://documentation.openoffice.org/manuals/OOo2.x/user_guide2_draft.pdf > better explains what to use than what is in Help but only you can tell. > I think you want something like text?text but also think that OOo will > only do one expression at a time. Let us know if this is indeed the case > and consider entering a Request for Enhancement (RFE) into Issue > Tracker as this is the best way to have requests such as this evaluated. > > If you haven't already registered, do the following: > > 1. To file an issue you must register with OOo by clicking the > My Pages tab and selecting the Register link > http://www.openoffice.org/servlets/Join > 2. Fill in your information > 3. Reply to the confirmation email that will be sent to the address > you provided. > 4. Once you have confirmed, go to www.openoffice.org again > 5. And click on the "My Pages" tab from which you can file and find > issues. > > Thanks for bringing this to our attention. It is important that you file > any examples with the issue to ensure your need is understood. > -- > PLEASE KEEP MESSAGES ON THE LIST. > OpenOffice.org Documentation Co-Lead > http://documentation.openoffice.org/ > > --------------------------------------------------------------------- > 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]
