
Hi, We added the support for spanning multiple lines with a regular expression in Find/Replace in Files in Oxygen 14.0. So if you use an older version of Oxygen the regular expression that contains (\s+) will find only the matches that span one line, that is it will not match the end-of-line character. You did not specify your Oxygen version but I think it is older than 14.0. I checked in Oxygen 13.2 and this feature was not present, it is a new feature of version 14.0. If you do not use version 14.0 please upgrade. Regards, Sorin Yves Barbion wrote:
Hi Sorin
I have checked all the options in the Find/Replace in Files dialog box and I have also included a screen shot in the attached ZIP file.
Thank you in advance for your assistance.
Yves Barbion www.scripto.nu
On 31-07-2012 12:47, Sorin Ristache wrote:
Hi,
Please check all the values in the Find/Replace in Files dialog box: scope should be "Current DITA map hierarchy", file filter should be *.dita (or *.xml), etc. If all values are correct in the dialog box please send a sample DITA topic file that should be found by the find action but is not found and also specify the search string that you used.
Regards, Sorin
Yves Barbion wrote:
Hi Sorin
Thank you for your prompt reply, but I'm afraid we're not quite there yet. When I search for "time(\s+)zone" (without the quotes), oXygen does not find it. A similar example is this:
<p status="changed">The body of the <keyword
conref="_conref_library.xml#topic_qjt_sdx_1f/keyword_wms_s2x_1f"/> consists of the following zones:</p>
When I search for "consists of(\s+)the following" or "consists(\s+)of(\s+)the(\s+)following" with the Regular Expression option selected, oXygen will only find the occurrences where there is only a single space between the words.
Any other ideas?
Thanks.
Yves