[oXygen-user] Find/Replace in Files: unable to find pretty-printed word combinations

Yves Barbion yves.barbion at gmail.com
Tue Jul 31 05:29:23 CDT 2012


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


On Tue, Jul 31, 2012 at 11:05 AM, Sorin Ristache <sorin at sync.ro> wrote:

> Hi,
>
> Yes, there is a simple way: look for "time(\s+)zones" and select the
> Regular Expression checkbox in the Find/Replace dialog box.
>
>
> Regards,
> Sorin
>
>
> Yves Barbion wrote:
>
>> Hi group
>>
>> I'm using Find/Replace in Files in oXygen XML Editor 13 to quickly find a
>> word in all DITA topics referenced in a DITA map. Sometimes, however, I see
>> that a given word combination cannot be found, even though I'm sure that
>> the word combination is used in one of my topics. When I open the topic and
>> look at the text in plain text view, I see that the word combination is
>> split by a line break because the text is indented ("pretty print"), for
>> example:
>>
>> <title><keyword conref="_conref_library.xml#**
>> topic_qjt_sdx_1f/keyword_wms_**s2x_1f"/> time
>>           zones</title>
>>
>>
>> When I look for "time zones" using Find/Replace in Files, oXygen cannot
>> find it. Is there a simple way to fix this?
>>
>>
>> Thanks.
>>
>> --
>> Yves Barbion
>> www.scripto.nu <http://www.scripto.nu>
>>
>>
>> ------------------------------**------------------------------**
>> ------------
>>
>> ______________________________**_________________
>> oXygen-user mailing list
>> oXygen-user at oxygenxml.com
>> http://www.oxygenxml.com/**mailman/listinfo/oxygen-user<http://www.oxygenxml.com/mailman/listinfo/oxygen-user>
>>
>


-- 
Yves Barbion
www.scripto.nu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20120731/cd93e26e/attachment.html 


More information about the oXygen-user mailing list