[oXygen-user] Find/Replace in Files: unable to find pretty-printed word combinations
sorin at sync.ro
Tue Jul 31 08:17:54 CDT 2012
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
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.
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
> On 31-07-2012 12:47, Sorin Ristache wrote:
>> 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.
>> 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
>>> 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?
More information about the oXygen-user