Cyrille, il ne faut pas être désolé ! ;)

Samuel,

As Cyrille says there are not _subtle_ back references in OOo, but I am pretty sure that you can refer to the _whole_ searched string in the replace field. Actually I think that's the only thing you can refer to there. And I don't think I am wrong saying that the search field back reference is "&".

This is a house.
and replace with with this:
(<This is a house.>)=(<This is a house.>)

In which the original is the only text on the paragraph (in other words, it follows and precedes a paragraphbreak). At first I thought that I would have to find:
([paragraph mark])([all text])([paragraph mark])
and replace it with:
\1\\(<\2\>\)\=\(\<\2\>\)\3
but I can figure out what is the OOo regex character for a paragraph break.

So, what about ^(.+)$ in search ? And (<&>)=(<&>) in replace ?

Give that a try and let us know (btw, did you try my segmentation rules for OmegaT ?)

JC
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to