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? Thanks ________________________________________________ Bruce Button Tel: 012-331-7072; Fax: 012-331-2685; Cell: 082-412-4972. PO Box 31442, Waverley, 0135, South Africa. Email: [EMAIL PROTECTED]
