Is it possible to use lazy/non-greedy regexp match in Oxygen?
I'm trying to match elements "trans-unit" which contain a sub-element "target" which contains the text "REMOVE", for example in:
Code: Select all
<trans-unit translate="yes" id="114" reformat="yes" xml:space="default">
<source>15.7 x 16.5 x 6.7in</source><target state="translated" state-qualifier="exact-match">"REMOVE"</target>
</trans-unit>
Code: Select all
<trans-unit translate="yes".+?\n.+?"REMOVE"
Code: Select all
... xml:space="default"><-- NEWLINE HERE
<source>...
Code: Select all
<trans-unit translate="yes".+?"REMOVE"
Hence my question: Is it possible to use lazy/non-greedy regular expressions in Oxygen? If it is, what am I doing wrong?
Thank you very much!
Cheers, Manuel